Skip to content

Commit

Permalink
Update yuque.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Duan-0916 authored Dec 21, 2023
1 parent b141a1d commit db8a94b
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/yuque.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,12 @@ on:
- main
jobs:
sync:
runs-on: ubuntu-latest
# runs-on: self-hosted
# runs-on: ubuntu-latest
runs-on: self-hosted
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Get latest commit ID
id: get_commit_id
run: echo "::set-output name=commit_id::$(git rev-parse HEAD)"


- name: Call Sync API
run: |
Expand All @@ -31,7 +28,6 @@ jobs:
"gitRepo": "https://github.com/${{ github.repository }}",
"gitDocRoot": "/",
"gitDocToc": "SUMMARY.md",
"gitCommitId": "${{ steps.get_commit_id.outputs.commit_id }}",
"gitBranch": "main"
}
}'

0 comments on commit db8a94b

Please sign in to comment.