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 run: npm run test
- name: Build - name: Build
run: | run: |
if [ "${GITHUB_REPOSITORY}" = "syusui-s/rabbit-transfer-domain" ]; then
npm run build npm run build
else
npm run build -- --base="/rabbit/"
fi
env: env:
VITE_COMMIT: ${{ steps.hash.outputs.sha_short }} VITE_COMMIT: ${{ steps.hash.outputs.sha_short }}
- name: Set CNAME - name: Set CNAME
run: | run: |
if [ "${GITHUB_REPOSITORY}" = "syusui-s/rabbit-transfer-domain" ]; then
echo "rabbit.syusui.net" >> ./dist/CNAME echo "rabbit.syusui.net" >> ./dist/CNAME
fi
- name: Check license - name: Check license
run: npm run checkLicense run: npm run checkLicense
- name: Deploy - name: Deploy