Skip to content

Commit

Permalink
fix(workflow): update workflow files
Browse files Browse the repository at this point in the history
  • Loading branch information
atticusofsparta committed Sep 12, 2024
1 parent e3b8e1d commit 52cd5cc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
step: [
'lint:check',
'test',
'build',
]
step: ['lint:check', 'test', 'build']
steps:
- uses: actions/checkout@v3
- run: yarn install --frozen-lockfile
Expand Down Expand Up @@ -40,6 +36,7 @@ jobs:
VITE_SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}

VITE_GITHUB_HASH: ${{ github.sha }}
VITE_AO_CU_URL: ${{ vars.VITE_AO_CU_URL }}

# Disribute to Firebase
- name: Deploy 🚀
Expand Down
11 changes: 4 additions & 7 deletions .github/workflows/production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
step: [
'lint:check',
'test',
'build',
]
step: ['lint:check', 'test', 'build']
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
Expand Down Expand Up @@ -51,6 +47,7 @@ jobs:
VITE_SENTRY_DSN_PROJECT_ID: ${{ secrets.SENTRY_DSN_PROJECT_ID }}
VITE_GITHUB_HASH: ${{ github.sha }}
VITE_IO_PROCESS_ID: ${{ secrets.IO_PROCESS_ID }}
VITE_AO_CU_URL: ${{ vars.VITE_AO_CU_URL }}

# Disribute to Firebase
- name: Deploy 🚀
Expand All @@ -63,7 +60,7 @@ jobs:
deploy-to-arweave:
runs-on: ubuntu-latest
needs: build
environment: production
environment: production
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
Expand All @@ -75,7 +72,7 @@ jobs:
- name: Install, Build, and Deploy 🔧
run: |
yarn install --frozen-lockfile
yarn deploy
yarn deploy
env:
# FOR BUILD
VITE_NODE_ENV: production
Expand Down

0 comments on commit 52cd5cc

Please sign in to comment.