-
Notifications
You must be signed in to change notification settings - Fork 17
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
Meta: migrate to GitHub Actions #113
Conversation
FORCE_COLOR also works for jest, so we can use this for participate.whatwg.org as well: whatwg/participate.whatwg.org#113
FORCE_COLOR also works for jest, so we can use this for participate.whatwg.org as well: whatwg/participate.whatwg.org#113
@domenic this isn't far from working, but there's one detail to sort out I'd like your input on, on how sg/db.json is deployed. As it is (before this change), Another silent failure mode is likely if changing things a bit, namely that one has a checkout out the participate.whatwg.org repo but the sg/ directory is just a directory. The What should we do? The most elaborate/fanciful would be to release sg/db.json as an npm package and depend on that. |
I don't have strong feelings about how we get I'm also OK removing the postinstall step. In that case let's just update the README to note that you need to run I don't think we need to publish the SG data as an npm package :). |
@foolip ping on finishing this up :) |
The prepare script is intended for this type of thing: https://docs.npmjs.com/misc/scripts#prepublish-and-prepare A non-obvious and seemingly undocumented feature is important here: `npm install --production` won't run the prepare script. If it did, we wouldn't need `npm run update-sg` in the deploy.sh script. Fixes the issue described in #113 (comment).
The prepare script is intended for this type of thing: https://docs.npmjs.com/misc/scripts#prepublish-and-prepare A non-obvious and seemingly undocumented feature is important here: `npm install --production` won't run the prepare script. If it did, we wouldn't need `npm run update-sg` in the deploy.sh script. Fixes the issue described in #113 (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.
Apparently needs a slight rebase, but otherwise LGTM!
Things look good. Let's see if the actual deploy works by merging this, then. I'll switch the branch protection around too. |
Something wrong with the key-loading... feel free to force-push until it works, assuming the changes are minimal. |
https://github.com/whatwg/participate.whatwg.org/runs/866280929?check_suite_focus=true failed because I named the secrets incorrectly. |
Fixed in #126 (not force pushed, as I wasn't entirely sure you meant the master branch. The new failure I think is because the secrets point to the wrong droplet. Fixing. |
Alright, it's now deployed and seems to work as usual. |
Awesome, thanks! |
This was missed in the migration to GitHub Actions in #113.
This was missed in the migration to GitHub Actions in #113.
Part of whatwg/meta#173.