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

Adding one-command deployment to Github Pages #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

HanClinto
Copy link

  • Added one-command deployment to Github Pages with npm run deploy which will push the most recently-built dist to the gh-pages branch on Github.

Works a treat, and makes it SUPER simple to share Phaser games online! :)

npm run build
npm run deploy

image

…hich will push the most recently-built dist to the gh-pages branch on Github.
@HanClinto
Copy link
Author

Hat-tip to the Scratch VM for showing me how to use the slick gh-pages deployment module:
https://github.com/LLK/scratch-vm/blob/develop/package.json#L17

@yandeu
Copy link
Owner

yandeu commented Jul 16, 2022

I will have to look into this package first. Normally I use deploy-website

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