Update the 'unstable' copy of the site every night at 2am UTC (#1028)
This commit is contained in:
parent
136b5c9231
commit
b9500a7548
2 changed files with 5 additions and 1 deletions
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
|
@ -7,6 +7,10 @@ on:
|
|||
- v*
|
||||
pull_request:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
# Run this workflow every day at 2am. This helps keep the page of
|
||||
# current spec proposals up-to-date.
|
||||
- cron: '0 2 * * *'
|
||||
|
||||
jobs:
|
||||
validate-openapi:
|
||||
|
|
|
@ -98,7 +98,7 @@ async function getIssues() {
|
|||
return null;
|
||||
}
|
||||
|
||||
let pageLink = "https://api.github.com/repos/matrix-org/matrix-doc/issues?state=all&labels=proposal&per_page=100";
|
||||
let pageLink = "https://api.github.com/repos/matrix-org/matrix-spec-proposals/issues?state=all&labels=proposal&per_page=100";
|
||||
while (pageLink) {
|
||||
const response = await fetch(pageLink);
|
||||
const issuesForPage = await response.json();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue