mirror of
https://github.com/aljazceru/rabbit.git
synced 2025-12-17 05:54:19 +01:00
feat: complete transfer domain
This commit is contained in:
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@@ -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
|
||||
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
|
||||
- name: Check license
|
||||
run: npm run checkLicense
|
||||
- name: Deploy
|
||||
|
||||
Reference in New Issue
Block a user