Skip to content

fix(actions): migrate deploy docs step to use external action #430

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

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

bpas247
Copy link
Member

@bpas247 bpas247 commented Sep 2, 2019

Using an external action here saves us from setting this up
manually.

also removes an uneeded dev dependency, as we aren't deploying
the docs locally anymore.

Using an external action here saves us from setting this up
manually.

also removes an uneeded dev dependency, as we aren't deploying
the docs locally anymore.
@bpas247 bpas247 added the bug label Sep 2, 2019
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: yarn deploy-docs
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So this is unfortunate, but until server-to-server requests kick off page builds, there isn't a good workaround for this.

We have a couple options here:

  • Wait until this issue is resolved and the subsequent PR is merged.
  • Create a machine user and create a new secret out of that.

IMO the former seems like the less painful route to go.

@taion
Copy link
Member

taion commented Mar 28, 2020

Wait, if JamesIves/github-pages-deploy-action#13 was merged, do we still need that token?

also updates the configuration to account for breaking changes.
Copy link
Member

@taion taion left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cool! do you need anything from me still?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants