fix(hub-common): fix fetchHubContent does not support slugs (#1216) #595
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 Documentation | |
# After a push to master, redeploy the docs | |
on: | |
push: | |
branches: [master] | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: "14.x" | |
- name: NPM Install | |
run: npm install | |
- name: Build Docs | |
run: npm run docs:build | |
- name: Deploy GH Pages 🚀 | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
# This is supposed to work w/o specifying a token | |
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
BRANCH: gh-pages | |
FOLDER: docs/build/hub.js | |
CLEAN: false |