Skip to content

Commit

Permalink
Update jekyll-build-pages.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
nogeek-cn authored Feb 14, 2025
1 parent f133481 commit 361ff5a
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/jekyll-build-pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,22 +19,22 @@ jobs:
uses: actions/jekyll-build-pages@v1
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
deploy:
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
# https://github.com/marketplace/actions/aliyun-oss-website-action
# https://github.com/marketplace/actions/aliyun-oss-website-action
- name: upload files to OSS
uses: fangbinwei/aliyun-oss-website-action@v1
with:
accessKeyId: ${{ secrets.ACCESS_KEY_ID }}
accessKeySecret: ${{ secrets.ACCESS_KEY_SECRET }}
bucket: "notgeek-gitpage"
endpoint: "oss-cn-hangzhou.aliyuncs.com"
folder: "./_site"
folder: "_site/"
deploy:
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

0 comments on commit 361ff5a

Please sign in to comment.