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*
|
- v*
|
||||||
pull_request:
|
pull_request:
|
||||||
workflow_dispatch:
|
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:
|
jobs:
|
||||||
validate-openapi:
|
validate-openapi:
|
||||||
|
|
|
@ -98,7 +98,7 @@ async function getIssues() {
|
||||||
return null;
|
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) {
|
while (pageLink) {
|
||||||
const response = await fetch(pageLink);
|
const response = await fetch(pageLink);
|
||||||
const issuesForPage = await response.json();
|
const issuesForPage = await response.json();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue