-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Update to use GitHub Actions for CI #4125
Conversation
Did you mean remove? Also, I think it'd be the best to just generate a new deploy key. |
I don't remember very clearly now, but there is nothing I have for a deploy key. All that I have is a personal access token for tldr-bot which is used to comment on PRs. I think we can just generate a new key for this one. |
Great, I'll set up a new key later today. 👍 |
Deploy key added, all good to go. 🤞 Can anyone see any issues with this? |
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.
Looks good to go AFAICT. Nice job @owenvoke!
I'm curious about how you found out that github.event.number
contains the PR number, it took me quite a while to check if that was correct since I've never used GH Actions before and I couldn't find it in the reference. Did you already know about it?
Anyway, merging this, let's see 🤞
Works so far 😄 |
Okay, so it seems to work fine, except that looks like the "Deploy" step is being skipped (see log here): I am not sure why this happens since the check looked ok: Line 30 in 68f8e47
@owenvoke any clue why? |
@mebeim It should be |
@zdroid no, |
This is what the reference says:
(It doesn't mention Yeah, my mistake, I'm sorry for that. I got used to GitHub automatically making a new branch when I edit some file. |
@zdroid you're right. It does not mention I guess we could be better off creating two separate workflows, one for testing and one for deployment, since you can specify the branch name in the |
Ah, I could have sworn there was a I guess splitting would be fine. 👍 Or could we use |
@owenvoke hmm, are we sure it's always going to be |
We need to add the website's deploy key to the GitHub Action secrets. @agnivade, it looks like you added that deploy key, do you happen to still have it? If not, I guess we can add a new one? 🤔
Once we've added the deploy key there with a key of
DEPLOY_KEY
, then this should all (🤞) work as expected.One other thing we need to remember to do (if this gets merged) is to remote the Travis CI required status check in the protected branch settings.
Closes #4097