feat: ASI genesis update cmd #241
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: | |
branches: | |
- master | |
# paths: | |
# - 'docs/**' | |
jobs: | |
build: | |
name: Docs Ephemerial 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 | |
- name: Archive Production Artifact | |
uses: actions/upload-artifact@master | |
with: | |
name: dist | |
path: docs/site | |
deploy: | |
name: Docs Ephemerial Deploy | |
needs: build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Download Artifact | |
uses: actions/download-artifact@master | |
with: | |
name: dist | |
path: docs/site | |
- uses: FirebaseExtended/action-hosting-deploy@v0 | |
with: | |
repoToken: "${{ secrets.GITHUB_TOKEN }}" | |
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT }}" | |
expires: 5d | |
projectId: fetch-docs-preview | |
entryPoint: docs/ |