Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
kohlerdominik committed Feb 25, 2025
1 parent 66de425 commit 5711770
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,6 @@ jobs:
with:
submodules: recursive

- name: Authenticate to Google Cloud
uses: google-github-actions/auth@v2
with:
credentials_json: ${{ secrets.GCLOUD_API_KEYFILE }}

- name: Set up Cloud SDK
uses: google-github-actions/setup-gcloud@v2
with:
project_id: ${{ env.GCLOUD_PROJECT }}

- name: Setup Hugo
uses: peaceiris/actions-hugo@v3
with:
Expand All @@ -38,10 +28,20 @@ jobs:
run: mkdir ./public

- name: Build site
run: hugo --debug debug -s ./src -d ./public
run: hugo --debug -s ./src -d ./public

- name: List public directory
run: ls -la .

- name: Authenticate to Google Cloud
uses: google-github-actions/auth@v2
with:
credentials_json: ${{ secrets.GCLOUD_API_KEYFILE }}

- name: Set up Cloud SDK
uses: google-github-actions/setup-gcloud@v2
with:
project_id: ${{ env.GCLOUD_PROJECT }}

- name: Deploy to Google Cloud Storage
run: gsutil -m cp -r ./public/* gs://docs.lexgate.ch

0 comments on commit 5711770

Please sign in to comment.