Merge pull request #108 from myclubapp/master #11
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: BETA - Build myclub App and Deploy on Firebase Hosting | |
on: | |
push: | |
branches: | |
- beta | |
jobs: | |
build_beta: | |
name: Build & Deploy BETA | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@master | |
- name: Config Node Version because of npm login issues. | |
uses: actions/setup-node@master | |
with: | |
node-version: 18 | |
- name: Install Dependencies | |
run: | | |
npm config set '//npm.fontawesome.com/:_authToken' "${{ secrets.FONTAWESOME_NPM_AUTH_TOKEN }}" | |
npm ci | |
- name: Build (BETA) | |
run: npm run build:beta | |
- name: Deploy to Firebase | |
uses: w9jds/firebase-action@master | |
with: | |
args: deploy --only hosting:beta | |
env: | |
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }} |