Merge pull request #1155 from data-for-change/dev #89
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: deploy-master | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- name: Setup node | |
uses: actions/setup-node@master | |
with: | |
node-version: '22.x' | |
- name: Install Dependencies | |
run: npm install | |
- name: Update browserlist DB | |
run: npx update-browserslist-db@latest | |
- name: Build | |
run: npm run build | |
- name: Deploy | |
uses: w9jds/[email protected] | |
with: | |
args: deploy --only hosting:master | |
env: | |
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }} | |
PROJECT_ID: anyway-newsflash-infographics |