Skip to content

Commit

Permalink
Generate CNAME file
Browse files Browse the repository at this point in the history
Without it, the website would not be reachable through the domain after
rebuilding until manually entering the domain name again in the GitHub
web UI.
  • Loading branch information
homeworkprod committed Feb 23, 2024
1 parent 217ea27 commit 5a441f1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build-static-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,11 @@ jobs:
- name: Move static website to repository root
run: mv -v build/* .

- name: Create CNAME file
run: echo "lanpartydb.orgatalk.de" > CNAME

- name: Add, commit, and push files
run: |
git add index.html parties/ series/ static/
git add index.html parties/ series/ static/ CNAME
git commit -m 'Add static website'
git push --force origin gh-pages

0 comments on commit 5a441f1

Please sign in to comment.