-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Build and deploy HTML on GitHub Actions #1669
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 guessing that @ewdurbin would know? |
I'm happy to take this if @ewdurbin can get us the secret necessary for the upload and what envvar to set it in. |
Awesome, so merging this should be enough to get stuff working? Yay! |
@pradyunsg not quite. While Ernest was nice enough to store the secrets, the workflow needs to be updated to actually set those values as environment variables. |
Ah yes, updated! DemoI added some dummy values in my fork. With another branch, before setting env vars, fails to find credentials (as expected):
https://github.com/hugovk/peps/runs/1294073460?check_suite_focus=true#step:6:52 After adding env vars, found them (and dummy values didn't work, as expected):
https://github.com/hugovk/peps/runs/1294144579?check_suite_focus=true#step:6:54 |
I just merged this and the first run worked! So I have gone ahead and removed the Travis webhook and configuration file. Thanks, @hugovk |
Great, thanks! |
(Split from #1570.)
Adds a GitHub Actions workflow to build and deploy, like Travis CI.
Notes:
Travis CI builds against 3.7 and 3.7-dev. I only added 3.8 to GHA. Should it build against a range? For example, we can do 3.6-3.9.
It will only deploy for
python/peps
andmaster
(like Travis)I've left Travis CI in place for now. I'd suggest confirming the deploy works first from GHA, then removing from Travis in a followup PR.
(I also noticed that on Travis, it's deploying for both 3.7 and 3.7-dev. It probably only needs doing from a single job.)
Nice bonus:
make -j$(nproc)
is quicker on GHA (~80s) than Travis (~110s)TODO
https://travis-ci.com/github/python/peps? They will need to be added at https://github.com/python/peps/settings/secrets