- commit
- 0ab3eda
- parent
- e4beea3
- author
- Eric Bower
- date
- 2023-08-14 13:14:42 +0000 UTC
fix: deploy pgs site
2 files changed,
+3,
-3
+1,
-1
1@@ -22,7 +22,7 @@ jobs:
2 - name: publish to pgs
3 uses: picosh/pgs-action@main
4 with:
5- user: erock
6+ user: hey
7 key: ${{ secrets.PRIVATE_KEY }}
8 src: './public/*'
9 project: "pgs-${{ steps.vars.outputs.sha_short }}"
M
Makefile
+2,
-2
1@@ -66,12 +66,12 @@ pgs-static:
2 pgs-site:
3 rm -rf public
4 mkdir public
5- PGS_EMAIL=hello@pico.sh PGS_DOMAIN=pgs.sh PGS_PROTOCOL=https ./build/pgs-static -out ./tmp
6+ PGS_EMAIL=hello@pico.sh PGS_DOMAIN=pgs.sh PGS_PROTOCOL=https ./build/pgs-static -out ./public
7 cp ./pgs/public/* ./public
8 .PHONY: pgs-site
9
10 pgs-deploy: pgs-static pgs-site
11- scp -R ./tmp/* hey@pgs.sh:/pgs-prod
12+ scp -R ./public/* hey@pgs.sh:/pgs-prod
13 .PHONY: pgs-site-deploy
14
15 format: