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

Github Action to update github pages when a new version is created #122

Closed
jasonwilliams opened this issue Sep 27, 2019 · 6 comments · Fixed by #1346
Closed

Github Action to update github pages when a new version is created #122

jasonwilliams opened this issue Sep 27, 2019 · 6 comments · Fixed by #1346
Assignees
Labels
E-Medium Medium difficulty problem enhancement New feature or request good first issue Good for newcomers question Further information is requested
Milestone

Comments

@jasonwilliams
Copy link
Member

jasonwilliams commented Sep 27, 2019

This page:
https://boa-dev.github.io/boa

Is often behind the actual release. As its a manual job to push the new version.
git push && git subtree push --prefix dist origin gh-pages

It would be nice to update the web assembly page when a new version is rolled out.
We already have a github action here:
https://github.com/boa-dev/boa/blob/master/.github/workflows/pull_request.yml

Is it possible to make one which responds to new versions?
It can then run yarn build and push to the gh-pages branch

@jasonwilliams jasonwilliams added enhancement New feature or request question Further information is requested Hacktoberfest Hacktoberfest 2021 - https://hacktoberfest.digitalocean.com labels Sep 27, 2019
@darrylpargeter
Copy link

Hey would it be possible to claim this one?

@jasonwilliams
Copy link
Member Author

@darrylpargeter sure

@jasonwilliams
Copy link
Member Author

@darrylpargeter any luck?

@jasonwilliams jasonwilliams added good first issue Good for newcomers E-Medium Medium difficulty problem and removed Hacktoberfest Hacktoberfest 2021 - https://hacktoberfest.digitalocean.com labels Jan 11, 2021
@jasonwilliams
Copy link
Member Author

jasonwilliams commented Jan 11, 2021

The job would need to:

  1. git checkout master
  2. git clone git@github.com:boa-dev/boa.git --branch gh-pages dist
  3. yarn build
  4. git push && git subtree push --prefix dist origin gh-pages

@FrancisMurillo
Copy link
Contributor

Can I claim this ticket?

@Razican
Copy link
Member

Razican commented Jun 19, 2021

Can I claim this ticket?

Sure, go ahead!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
E-Medium Medium difficulty problem enhancement New feature or request good first issue Good for newcomers question Further information is requested
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants