Skip to content

Update README.md

Update README.md #81

Workflow file for this run

name: deploy
on:
push:
branches: [master]
jobs:
build:
name: Build and deploy
runs-on: ubuntu-latest
environment:
name: kameroon
url: https://kameroon.web.app
steps:
- name: checkout source code
uses: actions/checkout@v2
- name: install node
uses: actions/setup-node@v2
with:
node-version: '16'
- name: install npm dependencies
run: npm ci
- name: build React bundle
run: npm run build && npm run build-sw
env:
GENERATE_SOURCEMAP: false
DISABLE_ESLINT_PLUGIN: true
- name: push to Firebase
uses: w9jds/firebase-action@v2.0.0
with:
args: deploy --only hosting:kameroon
env:
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}