File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,13 +19,17 @@ jobs:
1919 - name : Build Hugo site
2020 run : hugo build --minify
2121
22+ - name : List Hugo build output
23+ run : ls -R public/
24+
2225 - name : Authenticate to Google Cloud
2326 uses : google-github-actions/auth@v3
2427 with :
2528 credentials_json : ${{ secrets.GCP_SA_KEY }}
2629
27- - name : Setup Cloud SDK
28- uses : google-github-actions/setup-gcloud@v2
29-
3030 - name : Upload files to GCS
31- run : gsutil -m rsync -r -d ./public gs://${{ secrets.GCP_BUCKET }}
31+ uses : google-github-actions/upload-cloud-storage@v3
32+ with :
33+ path : ./public
34+ destination : ${{ secrets.GCP_BUCKET }}
35+ parent : false
Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ params:
3434 url : " mailto:me@gmherb.xyz"
3535 - name : pgpkey
3636 url : " /keys/gmherb.asc"
37+
3738outputs :
3839 home :
3940 - HTML
You can’t perform that action at this time.
0 commit comments