Skip to content

Commit f133481

Browse files
author
NoGeek.cn
authored
Update jekyll-build-pages.yaml
1 parent d70697f commit f133481

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

‎.github/workflows/jekyll-build-pages.yaml‎

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,15 @@ jobs:
2626
- name: Deploy to GitHub Pages
2727
id: deployment
2828
uses: actions/deploy-pages@v4
29+
# https://github.com/marketplace/actions/aliyun-oss-website-action
30+
- name: upload files to OSS
31+
uses: fangbinwei/aliyun-oss-website-action@v1
32+
with:
33+
accessKeyId: ${{secrets.ACCESS_KEY_ID }}
34+
accessKeySecret: ${{secrets.ACCESS_KEY_SECRET }}
35+
bucket: "notgeek-gitpage"
36+
endpoint: "oss-cn-hangzhou.aliyuncs.com"
37+
folder: "./_site"
2938
environment:
3039
name: github-pages
31-
url: ${{steps.deployment.outputs.page_url }}
40+
url: ${{steps.deployment.outputs.page_url }}

0 commit comments

Comments
(0)