Skip to content

Commit b144972

Browse files
committed
feat: automatic create CNAME file
1 parent aa4a991 commit b144972

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ jobs:
1616

1717
- name: Merge Build Branches
1818
run: |
19+
CNAME='commandapi-docs.xor7.cn'
20+
1921
git config --global user.name 'github-actions[bot]'
2022
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
2123
@@ -47,6 +49,8 @@ jobs:
4749
rm ${LOCAL_DIR}/dist.zip
4850
done
4951
52+
echo ${CNAME} > CNAME
53+
5054
git add .
5155
git commit -m "GitHub Actions Auto Deploy"
5256

0 commit comments

Comments
 (0)