Skip to content

Commit 6a50f55

Browse files
committed
chore(action): add env for deploying gh page correctly
1 parent d2be354 commit 6a50f55

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/cd.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@ jobs:
3434

3535
- name: Build 👷🏽
3636
run: npm run generate
37+
env:
38+
ROUTER_BASE: /pycontw-2021/ # repo name
39+
BUILD_TARGET: static
40+
API_URL_BROWSER: https://staging.pycon.tw/prs
41+
AUTH_TOKEN: ${{ secrets.AUTH_TOKEN }}
42+
GOOGLE_TAG_MANAGER_ID: ${{ secrets.GOOGLE_TAG_MANAGER_ID }}
3743

3844
- name: Deploy 🚀
3945
uses: JamesIves/[email protected]

0 commit comments

Comments
 (0)