Docs - Deploy #56
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: Docs - Deploy | |
on: | |
workflow_dispatch: | |
inputs: | |
commit: | |
type: string | |
description: Commit hash to deploy | |
default: main | |
permissions: | |
contents: write | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
# Run commands to print out more information about the runner | |
- name: Print out Additional Runner info | |
run: | | |
curl https://api.ipify.org | |
- uses: actions/checkout@v4 | |
with: | |
lfs: true | |
ref: ${{ inputs.commit }} | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: 3.x | |
- uses: actions/cache@v4 | |
with: | |
key: ${{ github.ref }} | |
path: .cache | |
- name: Build and deploy Docs | |
run: bash docs_build.sh deploy | |