repos / pgit

static site generator for git
git clone https://github.com/picosh/pgit.git

commit
5ececa2
parent
c655f72
author
Eric Bower
date
2023-08-10 16:50:24 +0000 UTC
refactor: gha cleanup
1 files changed,  +8, -8
M .github/workflows/static.yml
+8, -8
 1@@ -14,14 +14,14 @@ jobs:
 2       - uses: actions/setup-go@v4
 3         with:
 4           go-version: '1.20'
 5-      - run: go get github.com/picosh/pgit
 6-      - run: go install github.com/picosh/pgit
 7-      - run: pgit --out ./public --label pgit --desc "static site generator for git" --clone-url "https://github.com/picosh/pgit.git" --revs main
 8-      - run: pgit --out ./public --assets
 9-      - run: ssh -V
10-      - name: Set outputs
11-        id: vars
12-        run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
13+      - name: install pgit
14+        run: |
15+          go get github.com/picosh/pgit
16+          go install github.com/picosh/pgit
17+      - name: generate site
18+        run: |
19+          pgit --out ./public --label pgit --desc "static site generator for git" --clone-url "https://github.com/picosh/pgit.git" --revs main
20+          pgit --out ./public --assets
21       - name: upload to pgs
22         run: |
23           echo -e "${{ secrets.PRIVATE_KEY }}" >__TEMP_INPUT_KEY_FILE