feat(ci): switch to Garage
All checks were successful
Deploy pages / deploy (push) Successful in 1m16s

This commit is contained in:
Peter 2024-05-07 18:19:49 +02:00
parent c568dfa18f
commit 9062c01346
Signed by: prskr
GPG key ID: F56BED6903BC5E37
2 changed files with 8 additions and 7 deletions

View file

@ -22,13 +22,11 @@ jobs:
key: ${{ runner.os }}-hugomod-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-hugomod-
- name: Build
- name: Build & deploy
run: |
hugo mod get
hugo --minify --environment production
- name: Deploy
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CF_PAGES_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
command: pages deploy public --project-name=blog
hugo deploy
env:
AWS_ACCESS_KEY_ID: ${{ secrets.GARAGE_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.GARAGE_SECRET_KEY }}

View file

@ -62,3 +62,6 @@ url = "https://www.xing.com/profile/Sebastian_Kurfer"
icon = "fa-brands fa-xing"
target = "_blank"
aria = "Xing Profile"
[[deployment.targets]]
URL = "s3://blog?endpoint=garage.garage.svc:3900&disableSSL=true&s3ForcePathStyle=true&region=hel1"