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