feat: complete transfer domain

This commit is contained in:
Shusui MOYATANI
2024-02-04 12:16:03 +09:00
parent b4fb0ebae3
commit 628c51c42d

View File

@@ -38,18 +38,12 @@ jobs:
run: npm run test
- name: Build
run: |
if [ "${GITHUB_REPOSITORY}" = "syusui-s/rabbit-transfer-domain" ]; then
npm run build
else
npm run build -- --base="/rabbit/"
fi
npm run build
env:
VITE_COMMIT: ${{ steps.hash.outputs.sha_short }}
- name: Set CNAME
run: |
if [ "${GITHUB_REPOSITORY}" = "syusui-s/rabbit-transfer-domain" ]; then
echo "rabbit.syusui.net" >> ./dist/CNAME
fi
echo "rabbit.syusui.net" >> ./dist/CNAME
- name: Check license
run: npm run checkLicense
- name: Deploy