Skip to content

Commit d248302

Browse files
committed
fix: create CNAME file in github action
1 parent e721d61 commit d248302

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/build_web.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,15 @@ jobs:
8080
git checkout -B gh-pages
8181
rm -rf ./*
8282
cp -r /tmp/web-build/* .
83+
84+
- name: Create CNAME file
85+
run: |
86+
echo "cookethflow.subrotobanerjee.xyz" > CNAME
87+
88+
- name: Commit and push to gh-pages
89+
run: |
8390
git add .
84-
git commit -m "Deploy web build to gh-pages" || echo "No changes to commit"
91+
git commit -m "Deploy web build to gh-pages with CNAME" || echo "No changes to commit"
8592
git push origin gh-pages --force
8693
8794
- name: Debug gh-pages branch contents

0 commit comments

Comments
 (0)