Skip to content

Commit

Permalink
Faster deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
chetbox committed Jan 11, 2025
1 parent 70ab16e commit e74d7ad
Showing 1 changed file with 2 additions and 19 deletions.
21 changes: 2 additions & 19 deletions .github/workflows/build_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,25 +17,8 @@ jobs:
- run: yarn workspaces run build
env:
NODE_OPTIONS: --openssl-legacy-provider
deploy-main:
concurrency: deploy-main
if: github.ref == 'refs/heads/main'
needs:
- build
runs-on: ubuntu-22.04
timeout-minutes: 40
steps:
- uses: actions/checkout@v2
- name: Use Node.js 18.x
uses: actions/setup-node@v1
with:
node-version: 18.x
- run: npm install -g [email protected]
- run: yarn
- run: yarn workspaces run build
env:
NODE_OPTIONS: --openssl-legacy-provider
- name: firebase deploy
- name: deploy main
if: github.ref == 'refs/heads/main'
env:
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}
run: |
Expand Down

0 comments on commit e74d7ad

Please sign in to comment.