Skip to content

Commit 1a5b31a

Browse files
committed
fix bug with custom domain for gh pages staging.phcode.dev not owrking
1 parent 08ca3f3 commit 1a5b31a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/deploy-staging.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ jobs:
2828
mkdir -p ./public
2929
cp -r ./phoenix/dist/. ./public
3030
shell: bash
31+
- name: Creating CNAME for github page custom domain activation
32+
run: |
33+
echo "staging.phcode.dev" >> ./public/CNAME
34+
shell: bash
3135
- name: Deploy Github Pages
3236
uses: peaceiris/actions-gh-pages@v3
3337
if: github.ref == 'refs/heads/main'

0 commit comments

Comments
 (0)