Commit 8cab5ce

Eric Bower  ·  2024-12-19 14:28:16 -0500 EST
parent b011c80
chore: rm workflow
1 files changed,  +0, -41
+0, -41
......@@ -1,41 +0,0 @@
1-name: static
2-on:
3- push:
4- branches:
5- - main
6-jobs:
7- static:
8- runs-on: ubuntu-latest
9- steps:
10- - uses: actions/checkout@v3
11- with:
12- # need entire history
13- fetch-depth: 0
14- - uses: actions/setup-go@v4
15- with:
16- go-version: '1.22'
17- - name: install pgit
18- run: |
19- go install github.com/picosh/pgit@v1
20- - name: generate site
21- run: |
22- pgit \
23- --out ./public \
24- --label pgit \
25- --desc "static site generator for git" \
26- --clone-url "https://github.com/picosh/pgit.git" \
27- --home-url "https://git.erock.io" \
28- --revs main
29- - name: Set outputs
30- id: vars
31- run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
32- - name: publish to pgs
33- uses: picosh/pgs-action@v3
34- with:
35- user: pico
36- key: ${{ secrets.PRIVATE_KEY }}
37- src: './public/'
38- project: "git-pgit-${{ steps.vars.outputs.sha_short }}"
39- promote: "git-pgit"
40- retain: "git-pgit-"
41- retain_num: 1