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

Make sure manuscript deploys on github pages #4

Open
matentzn opened this issue Sep 20, 2023 · 5 comments
Open

Make sure manuscript deploys on github pages #4

matentzn opened this issue Sep 20, 2023 · 5 comments

Comments

@matentzn
Copy link
Member

matentzn commented Sep 20, 2023

Right now it does not deploy at all (I did it once manually). Something is this line keeps it from not pushing the updated HTML manuscript to the gh-pages branch.

@hrshdhgd can you take a look of what is happening? If you cant find a solution within 15 minutes, say it here and abandon the task.

@hrshdhgd
Copy link
Member

I can't see the settings tab. Permission please!

@matentzn
Copy link
Member Author

You are an admin!

@hrshdhgd
Copy link
Member

hrshdhgd commented Sep 20, 2023

It's because these tokens do not exist

MANUBOT_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
MANUBOT_SSH_PRIVATE_KEY: ${{ secrets.MANUBOT_SSH_PRIVATE_KEY }}

GITHUB_TOKEN is easy. I'm not sure about the other one.

@matentzn
Copy link
Member Author

Thank you! Do you understand how it is able to push to the "output" branch? That seems to get updated every time.

@hrshdhgd
Copy link
Member

# Deploy the manubot outputs to output
ghp-import \
--push \
--branch=output \
--message="$MESSAGE" \
output

I haven't worked with this a whole lot.

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

No branches or pull requests

2 participants