mirror of
https://github.com/oslook/cursor-ai-downloads.git
synced 2025-09-26 19:31:12 +08:00
Update update-cursor-links.yml
This commit is contained in:
34
.github/workflows/update-cursor-links.yml
vendored
34
.github/workflows/update-cursor-links.yml
vendored
@@ -16,12 +16,12 @@ jobs:
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
repository: oslook/cursor-download-hub
|
||||
token: ${{ secrets.API_TOKEN_GITHUB }}
|
||||
ref: main
|
||||
path: output/cursor-download-hub
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
repository: oslook/cursor-download-hub
|
||||
token: ${{ secrets.API_TOKEN_GITHUB }}
|
||||
ref: main
|
||||
path: output/cursor-download-hub
|
||||
|
||||
- name: Set up Node.js
|
||||
uses: actions/setup-node@v3
|
||||
@@ -57,14 +57,14 @@ jobs:
|
||||
run: cp -rf version-history.json output/cursor-download-hub/public/
|
||||
|
||||
- name: Pushes to another repository
|
||||
uses: cpina/github-action-push-to-another-repository@main
|
||||
env:
|
||||
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }}
|
||||
with:
|
||||
source-directory: 'output/cursor-download-hub'
|
||||
destination-github-username: "oslook"
|
||||
destination-repository-name: 'cursor-download-hub'
|
||||
user-email: 41898282+github-actions[bot]@users.noreply.github.com
|
||||
user-name: github-actions[bot]
|
||||
commit-message: 'Auto updated'
|
||||
target-branch: main
|
||||
uses: cpina/github-action-push-to-another-repository@main
|
||||
env:
|
||||
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }}
|
||||
with:
|
||||
source-directory: 'output/cursor-download-hub'
|
||||
destination-github-username: "oslook"
|
||||
destination-repository-name: 'cursor-download-hub'
|
||||
user-email: 41898282+github-actions[bot]@users.noreply.github.com
|
||||
user-name: github-actions[bot]
|
||||
commit-message: 'Auto updated'
|
||||
target-branch: main
|
||||
|
Reference in New Issue
Block a user