Merge pull request #70 from supabase-community/misc-bug-fixes-wi #192
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: Build and Deploy Documentation | |
on: | |
push: | |
branches: | |
- master | |
- release/* # Default release branch | |
jobs: | |
docs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
persist-credentials: false | |
- uses: nikeee/[email protected] | |
name: Build Documentation | |
with: | |
args: .documentation/docfx.json | |
- name: Deploy 🚀 | |
uses: JamesIves/[email protected] | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
BRANCH: gh-pages | |
FOLDER: .documentation/_site # The folder the action should deploy. | |
CLEAN: true # Automatically remove deleted files from the deploy branch |