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 6b865e5 commit acbc68aCopy full SHA for acbc68a
1 file changed
.github/workflows/build-website.yml
@@ -53,10 +53,18 @@ jobs:
53
python -m pip install --upgrade pip
54
export PATH=/home/runner/.local/bin:$PATH
55
JEKYLL_ENV=production bundle exec jekyll build --strict_front_matter -d _site/
56
+ - name: Add CNAME to publish directory
57
+ run: |
58
+ # ensure the CNAME in repo root is copied into the generated site so GitHub Pages uses the custom domain
59
+ if [ -f CNAME ]; then
60
+ mkdir -p website/_site
61
+ cp CNAME website/_site/CNAME
62
+ fi
63
64
- name: Deploy 🚀
65
uses: peaceiris/actions-gh-pages@v3
66
with:
67
github_token: ${{ secrets.GITHUB_TOKEN }}
68
publish_dir: ./website/_site/
69
publish_branch: gh-pages
70
+ cname: writeups.cyscomvit.com
0 commit comments