feat(ci): switch to Garage
All checks were successful
Deploy pages / deploy (push) Successful in 1m16s
All checks were successful
Deploy pages / deploy (push) Successful in 1m16s
This commit is contained in:
parent
c568dfa18f
commit
9062c01346
2 changed files with 8 additions and 7 deletions
|
@ -22,13 +22,11 @@ jobs:
|
||||||
key: ${{ runner.os }}-hugomod-${{ hashFiles('**/go.sum') }}
|
key: ${{ runner.os }}-hugomod-${{ hashFiles('**/go.sum') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-hugomod-
|
${{ runner.os }}-hugomod-
|
||||||
- name: Build
|
- name: Build & deploy
|
||||||
run: |
|
run: |
|
||||||
hugo mod get
|
hugo mod get
|
||||||
hugo --minify --environment production
|
hugo --minify --environment production
|
||||||
- name: Deploy
|
hugo deploy
|
||||||
uses: cloudflare/wrangler-action@v3
|
env:
|
||||||
with:
|
AWS_ACCESS_KEY_ID: ${{ secrets.GARAGE_KEY_ID }}
|
||||||
apiToken: ${{ secrets.CF_PAGES_TOKEN }}
|
AWS_SECRET_ACCESS_KEY: ${{ secrets.GARAGE_SECRET_KEY }}
|
||||||
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
|
|
||||||
command: pages deploy public --project-name=blog
|
|
||||||
|
|
|
@ -62,3 +62,6 @@ url = "https://www.xing.com/profile/Sebastian_Kurfer"
|
||||||
icon = "fa-brands fa-xing"
|
icon = "fa-brands fa-xing"
|
||||||
target = "_blank"
|
target = "_blank"
|
||||||
aria = "Xing Profile"
|
aria = "Xing Profile"
|
||||||
|
|
||||||
|
[[deployment.targets]]
|
||||||
|
URL = "s3://blog?endpoint=garage.garage.svc:3900&disableSSL=true&s3ForcePathStyle=true®ion=hel1"
|
Loading…
Reference in a new issue