Skip to content

v1.2.0

v1.2.0 #108

name: Docusaurus Firebase Deploy
on:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout@v2
uses: actions/checkout@v2
- name: setup-node@v1
uses: actions/setup-node@v1
with:
node-version: '14.x'
- name: Set NPM Variables
run: echo "$PACKAGES_NPMRC" > .npmrc
env:
PACKAGES_NPMRC: ${{ secrets.PACKAGES_NPMRC }}
- name: GitHub Action for Firebase
run: npm install -g firebase-tools && cd documentation && yarn && yarn build && firebase deploy --only hosting
env:
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}