更新 .gitea/workflows/update-rules.yml
Some checks failed
Auto Update Clash Rules / update-rules (push) Failing after 1m15s
Some checks failed
Auto Update Clash Rules / update-rules (push) Failing after 1m15s
This commit is contained in:
@@ -16,7 +16,7 @@ jobs:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
token: ${{ secrets.GITEA_TOKEN }}
|
||||
token: ${{ secrets.WORKFLOW_TOKEN }}
|
||||
|
||||
- name: Set environment variables
|
||||
run: |
|
||||
@@ -342,7 +342,7 @@ jobs:
|
||||
|
||||
# 使用 Gitea API 创建 Release
|
||||
curl -X POST \
|
||||
-H "Authorization: token ${{ secrets.GITEA_TOKEN }}" \
|
||||
-H "Authorization: token ${{ secrets.WORKFLOW_TOKEN }}" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{
|
||||
"tag_name": "${{ env.TAG_NAME }}",
|
||||
|
||||
Reference in New Issue
Block a user