Skip to content

chore: update test runners #131

chore: update test runners

chore: update test runners #131

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@v0'
with:
credentials_json: '${{ secrets.GCP_SA_KEY }}'
- id: 'deploy'
uses: 'google-github-actions/deploy-appengine@v0'
with:
project_id: ${{ secrets.GCP_PROJECT }}
working_directory: ./doc
# Example of using the output
- id: 'test'
run: 'curl "${{ steps.deploy.outputs.url }}"'