Skip to content

chore: specify docs python version #147

chore: specify docs python version

chore: specify docs python version #147

Workflow file for this run

name: docs
on:
push:
branches:
- main
tags:
- '*'
jobs:
deploy:
permissions:
contents: 'read'
id-token: 'write'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true
fetch-depth: 0
- name: Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: '0.91.2'
- name: Build
uses: joerdav/[email protected]
with:
task: build-docs
- id: 'auth'
uses: 'google-github-actions/auth@v2'
with:
credentials_json: '${{ secrets.GCP_SA_KEY }}'
- id: 'deploy'
uses: 'google-github-actions/deploy-appengine@v2'
with:
project_id: ${{ secrets.GCP_PROJECT }}
working_directory: ./doc
# Example of using the output
- id: 'test'
run: 'curl "${{ steps.deploy.outputs.url }}"'