Skip to content

Commit

Permalink
update hugo.yml to generate a CNAMe file
Browse files Browse the repository at this point in the history
Following the suggestions as mentioned here: tschaub/gh-pages#213
  • Loading branch information
javadigest authored Jul 9, 2023
1 parent 88d2f96 commit 3bc97df
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/hugo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@ jobs:
- name: Build
run: hugo --minify


- name: cname
run: echo 'javadigest.org' > ./public/CNAME

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/main'
Expand Down

0 comments on commit 3bc97df

Please sign in to comment.