Skip to content

[ How To ] how to deploy this to Cloudflare Pages? #775

Closed Answered by rohandebsarkar
alerezaaa asked this question in Q&A
Discussion options

You must be logged in to vote

You can remove the [ci-skip] by changing the following line in the bin/deploy script.

git commit --allow-empty -m "$(git log -1 --pretty=%B) [ci skip]"

Also, to make GitHub Actions push the generated site on any branch other than gh-pages, you will need to edit the following line in the .github/workflows/deploy.yml script.

echo "::set-output name=DEPLOY_BRANCH::gh-pages"

You can change the gh-pages in the above line to cf-pages that will make GitHub Actions automatically push to the cf-pages branch.

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by alerezaaa
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
3 participants
Converted from issue

This discussion was converted from issue #772 on July 19, 2022 13:29.