Skip to content

Commit

Permalink
Update the 'unstable' copy of the site every night at 2am UTC (matrix…
Browse files Browse the repository at this point in the history
  • Loading branch information
anoadragon453 authored Apr 12, 2022
1 parent 136b5c9 commit b9500a7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion scripts/proposals.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit b9500a7

Please sign in to comment.