Skip to content

Commit

Permalink
chore: e2e jobs 에 env 적용
Browse files Browse the repository at this point in the history
  • Loading branch information
agaxe committed Sep 22, 2024
1 parent 1fc4c64 commit 35f686a
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,16 @@ jobs:

e2e:
runs-on: ubuntu-latest
env:
NOTION_ROOT_PAGE_ID: ${{ secrets.NOTION_ROOT_PAGE_ID }}
NOTION_ACTIVE_USER_ID: ${{ secrets.NOTION_ACTIVE_USER_ID }}
NOTION_AUTH_TOKEN: ${{ secrets.NOTION_AUTH_TOKEN }}
NOTION_API_TOKEN: ${{ secrets.NOTION_API_TOKEN }}
NOTION_DB_ID: ${{ secrets.NOTION_DB_ID }}
NOTION_PORTFOLIO_PAGE_ID: ${{ secrets.NOTION_PORTFOLIO_PAGE_ID }}
BLOG_ODR_TOKEN: ${{ secrets.BLOG_ODR_TOKEN }}
NEXT_PUBLIC_GA_ID: ${{ secrets.NEXT_PUBLIC_GA_ID }}

steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand All @@ -59,15 +69,6 @@ jobs:

- name: Build project
run: yarn build
env:
NOTION_ROOT_PAGE_ID: ${{ secrets.NOTION_ROOT_PAGE_ID }}
NOTION_ACTIVE_USER_ID: ${{ secrets.NOTION_ACTIVE_USER_ID }}
NOTION_AUTH_TOKEN: ${{ secrets.NOTION_AUTH_TOKEN }}
NOTION_API_TOKEN: ${{ secrets.NOTION_API_TOKEN }}
NOTION_DB_ID: ${{ secrets.NOTION_DB_ID }}
NOTION_PORTFOLIO_PAGE_ID: ${{ secrets.NOTION_PORTFOLIO_PAGE_ID }}
BLOG_ODR_TOKEN: ${{ secrets.BLOG_ODR_TOKEN }}
NEXT_PUBLIC_GA_ID: ${{ secrets.NEXT_PUBLIC_GA_ID }}

- name: Install Playwright Browsers
run: npx playwright install --with-deps
Expand Down

0 comments on commit 35f686a

Please sign in to comment.