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

How to deploy to github pages #1594

Open
noobToLinux opened this issue Jan 24, 2025 · 1 comment
Open

How to deploy to github pages #1594

noobToLinux opened this issue Jan 24, 2025 · 1 comment

Comments

@noobToLinux
Copy link

Hello, I did a fork from this repo and I plan to do some changes. I am new to web dev and I know little about CD/CI and I don't want to deal with installing npm, docker and anything else, that's why I want to deploy to github pages and test what I want.

I assume that you need actions to do it and idk what do I have to change to deploy on my pages. I already did some changes but they shouldn't affect the deployment. So what do I have to change to deploy to pages? If it is possible.

@noobToLinux
Copy link
Author

I have been testing and changing the deploy.yml should be enough

`
push:
branches:
- master ----> - develop


with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs
publish_branch: gh-pages // And adding this line
`

Not sure if it is correct since I did it with chatGPT

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

1 participant