Skip to content

Commit 96e653b

Browse files
committed
debug
1 parent dd7b935 commit 96e653b

2 files changed

Lines changed: 9 additions & 4 deletions

File tree

.github/workflows/main.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff 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

hugo.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ params:
3434
url: "mailto:me@gmherb.xyz"
3535
- name: pgpkey
3636
url: "/keys/gmherb.asc"
37+
3738
outputs:
3839
home:
3940
- HTML

0 commit comments

Comments
 (0)