diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 662ce18..4e64fae 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -66,6 +66,7 @@ jobs: run: | npm ci echo "VUE_APP_BASE_URL=https://staging.disfactory.tw/api" > .env + echo "VUE_APP_IMGUR_FALLBACK_URL=https://staging.disfactory.tw/imgur" >> .env npm run build - name: Deploy to GitHub Pages uses: JamesIves/github-pages-deploy-action@3.7.1 @@ -95,6 +96,7 @@ jobs: run: | npm ci echo "VUE_APP_BASE_URL=https://api.disfactory.tw/api" > .env.production + echo "VUE_APP_IMGUR_FALLBACK_URL=https://api.disfactory.tw/imgur" >> .env.production npm run build echo "disfactory.tw" > dist/CNAME - name: Deploy to GitHub Pages