Skip to content

Commit

Permalink
Add CNAME file during deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnStarich committed Aug 1, 2021
1 parent b45ee14 commit 9440f63
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
out=$(mktemp -d)
docker cp $(docker create --rm go-wasm):/usr/share/nginx/html "$out"
find "$out/html" -mindepth 1 -maxdepth 1 -exec cp -r {} ./ \; # Glob doesn't always pick up hidden files by default
echo go-wasm.johnstarich.com > CNAME
git add .
git commit -am "Deploy to GitHub Pages"
git push --force origin gh-pages

0 comments on commit 9440f63

Please sign in to comment.