v1.2.0 #108
Workflow file for this run
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: 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 }} |