Skip to content

Commit

Permalink
🔥 env loading logic in GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Shion1305 committed Aug 12, 2024
1 parent edb2df9 commit 18a07e8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/deploy-cloudrun-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,6 @@ jobs:
node-version: '20'
cache: 'pnpm'

- name: create .env file
run: |
echo "${{ secrets.ENV_VARS }}" > .env
- name: Install dependencies and build
run: |
pnpm install
Expand Down Expand Up @@ -78,7 +74,6 @@ jobs:
region: asia-northeast1
service: stg-pr-${{ github.event.number }}
image: asia-northeast1-docker.pkg.dev/lumos-profile-management/main/nuxt3-stg-pr-${{ github.event.number }}:latest
env_vars_file: .env

- name: Make CloudRun accessible
run: |
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/deploy-cloudrun.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@ jobs:
node-version: '20'
cache: 'pnpm'

- name: create .env file
run: |
echo "${{ secrets.ENV_VARS }}" > .env
- name: Install dependencies and build
run: |
pnpm install
Expand Down

0 comments on commit 18a07e8

Please sign in to comment.