Skip to content

Make type assertions more defensive on the secret manager datasources… #1

Make type assertions more defensive on the secret manager datasources…

Make type assertions more defensive on the secret manager datasources… #1

name: repository-documentation-deploy
permissions: read-all
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-22.04
permissions:
contents: write
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.2
with:
submodules: false # Fetch Hugo themes (true OR recursive)
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
- name: Setup Hugo
uses: peaceiris/actions-hugo@16361eb4acea8698b220b76c0d4e84e1fd22c61d # v2.6.0
with:
hugo-version: '0.136.5'
extended: true
- name: Build
working-directory: ./docs
run: hugo --minify
- name: Deploy
uses: peaceiris/actions-gh-pages@de7ea6f8efb354206b205ef54722213d99067935 # v3.9.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/public