Skip to content
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

fix publish workflow #39

Merged
merged 1 commit into from
Jul 15, 2021
Merged

fix publish workflow #39

merged 1 commit into from
Jul 15, 2021

Conversation

ZigZagT
Copy link
Contributor

@ZigZagT ZigZagT commented Jul 15, 2021

Github Actions now has builtin auth support via the GITHUB_TOKEN variable (doc).

We used to use our own PAT for pushing the release info. Apparently, the PAT approach has stopped working just now. It's time to adopt the new workflow.

Besides using GITHUB_TOKEN, I also simplified the workflow a little bit. In the old version, we were passing ${{ github.event.release.target_commitish }} to the checkout action to allow publishing an arbitrary commit. It turns out we didn't need this feature at all. Therefore I'm removing it for simplicity.

sample workflow output can be found here https://github.com/ZigZagT/ab-testing/runs/3073667970?check_suite_focus=true
(note NPM step is expected to fail with 401 as its a forked repo)

@SBoudrias SBoudrias merged commit 9d87704 into appannie:master Jul 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants