pre-release: ASI upgrade #234
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: Documentation Preview | |
on: | |
pull_request: | |
paths: | |
- 'docs/**' | |
jobs: | |
build: | |
name: Docs Ephemeral Build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Use python 3.9 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.9' | |
- name: Install Dependencies | |
run: cd docs && pip3 install pipenv && pipenv install | |
- name: Build | |
run: cd docs && pipenv run mkdocs build -f ../mkdocs.yml | |
- name: Archive Production Artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: dist | |
path: site | |
deploy: | |
name: Docs Ephemeral Deploy | |
needs: build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Download Artifact | |
uses: actions/download-artifact@v3 | |
with: | |
name: dist | |
path: site | |
- uses: FirebaseExtended/action-hosting-deploy@v0 | |
with: | |
repoToken: "${{ secrets.GITHUB_TOKEN }}" | |
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT }}" | |
expires: 2d | |
projectId: fetch-docs-preview | |
# entryPoint: docs/ |