Skip to content

Commit c2bc3ff

Browse files
authored
Update crawl.yml
1 parent ede68a4 commit c2bc3ff

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/crawl.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,13 @@ on:
66
- main
77
schedule:
88
- cron: '0 * * * *'
9+
workflow_dispatch:
910

1011
jobs:
1112
crawl_and_commit:
1213
runs-on: ubuntu-latest
1314
permissions:
14-
contents: write # Grant write permissions for committing files
15+
contents: write
1516
steps:
1617
- name: Checkout repository
1718
uses: actions/checkout@v4
@@ -30,7 +31,7 @@ jobs:
3031
id: crawl_step
3132
run: |
3233
python crawl.py
33-
continue-on-error: true # Allows the workflow to continue even if the script returns a non-zero exit code
34+
continue-on-error: true
3435

3536
- name: Commit crawled files if there are changes
3637
if: success()

0 commit comments

Comments
 (0)