β¬οΈ Update dependency firebase to v10.4.0 #341
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 app on Github pages | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build-app: | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
node: [16] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: π Checkout | |
uses: actions/checkout@v4 | |
- name: π Setup node env & π Yarn install cache | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node }} | |
cache: 'yarn' | |
- name: π¨π»βπ» Install dependencies | |
run: yarn | |
- name: π₯» Build l'API | |
run: yarn build | |
- name: π Generate app | |
run: yarn generate:gh-pages | |
- name: π Deploy app | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./dist |