repos / neovimcraft

website that makes it easy to find neovim plugins
git clone https://github.com/neurosnap/neovimcraft.git

commit
f8681ce
parent
1dee450
author
Eric Bower
date
2023-08-11 18:14:04 +0000 UTC
use pgs
1 files changed,  +9, -9
M .github/workflows/deploy.yml
+9, -9
 1@@ -19,6 +19,15 @@ jobs:
 2         deno-version: "~1.28"
 3     - run: make scrape
 4     - run: make build
 5+    - run: cp ./data/db.json ./static/db.json
 6+
 7+    - name: upload to pgs
 8+      uses: 'picosh/pgs-action@main'
 9+      with:
10+        user: erock
11+        key: ${{ secrets.PRIVATE_KEY }}
12+        src: './static/*'
13+        project: neovimcraft
14 
15     - name: 'gcp auth'
16       uses: 'google-github-actions/auth@v0'
17@@ -31,14 +40,5 @@ jobs:
18     - name: 'Upload Site'
19       run: 'gsutil -m -h "Cache-Control:private, max-age=0, no-transform" rsync -d -r ./static gs://neovimcraft.com'
20 
21-    - name: 'upload-file'
22-      uses: 'google-github-actions/upload-cloud-storage@v0'
23-      with:
24-        path: './data/db.json'
25-        destination: 'neovimcraft.com/db.json'
26-        parent: false
27-        headers: |-
28-          cache-control: private, max-age=0, no-transform
29-
30     - name: Create Pull Request
31       uses: peter-evans/create-pull-request@v4