repos / pgit

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

commit
6fcf1f8
parent
6f6844d
author
Eric Bower
date
2023-08-10 15:39:05 +0000 UTC
upload to static site
1 files changed,  +6, -0
M .github/workflows/static.yml
+6, -0
 1@@ -13,3 +13,9 @@ jobs:
 2       - run: go install github.com/picosh/pgit
 3       - run: pgit --out ./public --label pgit --revs main,HEAD
 4       - run: pgit --out ./public --assets
 5+      - run: scp -R ./public/* erock@pgs.sh:/git-${{ steps.vars.outputs.sha_short }}
 6+      - name: upload to pgs
 7+        run: |
 8+        echo -e "${{ secrets.PRIVATE_KEY }}" >__TEMP_INPUT_KEY_FILE
 9+        chmod 600 __TEMP_INPUT_KEY_FILE
10+        scp -o StrictHostKeyChecking=no -v -i __TEMP_INPUT_KEY_FILE -r ./public/* erock@pgs.sh:/git-${{ steps.vars.outputs.sha_short }}