-
Notifications
You must be signed in to change notification settings - Fork 3.5k
[CI] Add github workflow for updating the website. NFC #25793
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
I'm not sure I can even test this without landing it first :( |
| name: Update website | ||
| runs-on: ubuntu-latest | ||
| env: | ||
| GH_TOKEN: ${{ secrets.EMSCRIPTEN_BOT_TOKEN }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If the emscripten-site repo will accept PRs from any random person on github, then I don't see why emscripten-bot should be different. If we need to give emscripten-bot some permission to let CI on the site run, we could do that. But it shouldn't require actually putting the bot's token in the repo as a secret. That would only be needed if we want something to run as the bot.
|
Landing TBR so I can test |
|
You should be able to manually trigger workflows on any particular branch, |
dschuff
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
something like this would allow manually triggering the workflow.
| @@ -0,0 +1,50 @@ | |||
| name: Update website | |||
|
|
|||
| on: | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| on: | |
| on: | |
| workflow_dispatch |
No description provided.