Skip to content

Relaxing degree of freedom for target validator to receive delegations #345

Relaxing degree of freedom for target validator to receive delegations

Relaxing degree of freedom for target validator to receive delegations #345

Workflow file for this run

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/