Skip to content

Commit

Permalink
Merge pull request #381 from sartim/develop
Browse files Browse the repository at this point in the history
Update workflow
  • Loading branch information
sartim committed Mar 20, 2024
2 parents 8b274a7 + e24ab38 commit 19afffb
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 7 deletions.
14 changes: 13 additions & 1 deletion .github/workflows/develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,22 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- run: npm install --force
- run: npm install -g firebase-tools
- run: bower install
- name: Run build
run: npm run build --noninteractive
env:
CI: false
- run: ./scripts/create_api_dot_js.sh
deploy:
runs-on: ubuntu-latest
needs: build
strategy:
max-parallel: 1
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 1
- name: Deploy to stage
run: |
echo "firebase deploy"
19 changes: 13 additions & 6 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,22 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- run: npm install --force
- run: npm install -g firebase-tools
- run: bower install
- name: Run build
run: npm run build --noninteractive
env:
CI: false
- run: ./scripts/create_api_dot_js.sh
- run: firebase login:ci --interactive
- name: Deploy to prod
run: |
firebase deploy
- run: firebase logout
deploy:
runs-on: ubuntu-latest
needs: build
strategy:
max-parallel: 1
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 1
- name: Deploy to prod
run: |
echo "deploy"

0 comments on commit 19afffb

Please sign in to comment.