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') }}
|
||||
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 }}
|
||||
|
|
|
@ -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®ion=hel1"
|
Loading…
Reference in a new issue