Skip to content

docs: more examples for custom domains #272

docs: more examples for custom domains

docs: more examples for custom domains #272

Workflow file for this run

name: release
on:
push:
branches:
- main
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set outputs
id: vars
run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
- uses: actions/setup-go@v4
with:
go-version: '1.21'
- name: build docs site
run: make ssg
- name: publish to pgs
uses: picosh/pgs-action@v3
with:
user: pico
key: ${{ secrets.PRIVATE_KEY }}
src: './public/'
project: "docs-${{ steps.vars.outputs.sha_short }}"
promote: "docs-prod"
retain: "docs-"
retain_num: 1