We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f4a90e commit a106fc0Copy full SHA for a106fc0
.github/workflows/scrape-visasq.yaml
@@ -0,0 +1,29 @@
1
+name: scrape-visasq
2
+
3
+on:
4
+ push:
5
+ workflow_dispatch:
6
+ schedule:
7
+ - cron: "0 0 * * 3" # Every Wednesday at 00:00 UTC
8
9
+jobs:
10
+ scrape-visasq:
11
+ runs-on: ubuntu-latest
12
+ timeout-minutes: 10
13
+ steps:
14
+ - name: Run Docker container and generate output file
15
+ run: |
16
+ mkdir -p assets
17
+ echo "test" > assets/test.txt
18
+ docker run \
19
+ --rm \
20
+ -v $(pwd)/assets:/app/assets \
21
+ ks6088ts/workshop-playwright-python:latest \
22
+ python scripts/visasq.py scrape --max-page 20
23
24
+ - name: Upload output file as artifact
25
+ uses: actions/upload-artifact@v4
26
+ with:
27
+ name: assets
28
+ path: ./assets/
29
+ retention-days: 14
0 commit comments