Skip to content

docs(pgs): _redirects copy #57

docs(pgs): _redirects copy

docs(pgs): _redirects copy #57

Workflow file for this run

name: pgs-static-site
on:
push:
branches:
- main
jobs:
static:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install package
run: |
sudo apt-get -y install libwebp-dev
- 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.20'
- name: build pgs site
run: make pgs-static pgs-site
- name: publish to pgs
uses: picosh/pgs-action@main
with:
user: hey
key: ${{ secrets.PRIVATE_KEY }}
src: './public/*'
project: "pgs-${{ steps.vars.outputs.sha_short }}"
promote: "pgs-prod"
retain: "pgs-"