Commit e93b271

Eric Bower  ·  2023-08-11 13:27:54 -0400 EDT
parent 5ececa2
use pgs-action
1 files changed,  +7, -5
+7, -5
......@@ -22,8 +22,10 @@ jobs:
2222 run: |
2323 pgit --out ./public --label pgit --desc "static site generator for git" --clone-url "https://github.com/picosh/pgit.git" --revs main
2424 pgit --out ./public --assets
25- - name: upload to pgs
26- run: |
27- echo -e "${{ secrets.PRIVATE_KEY }}" >__TEMP_INPUT_KEY_FILE
28- chmod 600 __TEMP_INPUT_KEY_FILE
29- scp -s -o IdentitiesOnly=yes -o StrictHostKeyChecking=no -v -i __TEMP_INPUT_KEY_FILE -r ./public/* erock@pgs.sh:/git
25+ - name: publish to pgs
26+ uses: picosh/pgs-action@main
27+ with:
28+ user: erock
29+ key: ${{ secrets.PRIVATE_KEY }}
30+ src: './public/*'
31+ project: 'git'