We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f48cc0 commit 2292896Copy full SHA for 2292896
1 file changed
.github/workflows/build-website.yml
@@ -50,10 +50,18 @@ jobs:
50
export PATH=/home/runner/.local/bin:$PATH
51
JEKYLL_ENV=production bundle exec jekyll build --strict_front_matter -d _site/
52
53
+ - name: Add CNAME to publish directory
54
+ run: |
55
+ # ensure the CNAME in repo root is copied into the generated site so GitHub Pages uses the custom domain
56
+ if [ -f CNAME ]; then
57
+ mkdir -p website/_site
58
+ cp CNAME website/_site/CNAME
59
+ fi
60
- name: Deploy 🚀
61
uses: peaceiris/actions-gh-pages@v3
62
with:
63
github_token: ${{ secrets.GITHUB_TOKEN }}
64
publish_dir: ./website/_site/
65
publish_branch: gh-pages
66
+ cname: writeups.cyscomvit.com
67
0 commit comments