Skip to content

Commit 028cde7

Browse files
committed
Deploy to Garage
1 parent f44a1bf commit 028cde7

File tree

1 file changed

+9
-15
lines changed

1 file changed

+9
-15
lines changed

.github/workflows/mkdocs.yml

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Deploy mkdocs site to Pages
1+
name: Deploy mkdocs site to Garage
22

33
on:
44
push:
@@ -8,8 +8,6 @@ on:
88

99
permissions:
1010
contents: read
11-
pages: write
12-
id-token: write
1311

1412
concurrency:
1513
group: pages
@@ -42,15 +40,11 @@ jobs:
4240
uses: actions/upload-pages-artifact@v3
4341
with:
4442
path: site/
45-
46-
deploy:
47-
environment:
48-
name: github-pages
49-
url: ${{ steps.deployment.outputs.page_url }}
50-
runs-on: ubuntu-latest
51-
needs: build
52-
steps:
53-
- name: Deploy to GitHub Pages
54-
id: deployment
55-
uses: actions/deploy-pages@v4
56-
43+
- uses: hkdobrev/minio-deploy-action@v1
44+
with:
45+
endpoint: https://${{ vars.GARAGE_ENDPOINT }}
46+
bucket: ${{ vars.GARAGE_BUCKET }}
47+
access_key: ${{ secrets.GARAGE_TRIPLEBIT_STATIC_HOMEPAGE_ID }}
48+
secret_key: ${{ secrets.GARAGE_TRIPLEBIT_STATIC_HOMEPAGE_KEY }}
49+
source_dir: "site/"
50+
target_dir: "/"

0 commit comments

Comments
 (0)