- commit
- 6fcf1f8
- parent
- 6f6844d
- author
- Eric Bower
- date
- 2023-08-10 11:39:05 -0400 EDT
upload to static site
      1 files changed, 
      +6,
      -0
    
    
  
        +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 }}