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 b210e80 commit e35c7ccCopy full SHA for e35c7cc
.github/workflows/visit-page.yml
@@ -0,0 +1,25 @@
1
+name: Visit Page Daily
2
+
3
+on:
4
+ schedule:
5
+ - cron: '0 0 * * *' # Runs once daily at midnight UTC
6
+ workflow_dispatch: # Allows manual triggering of the workflow
7
8
+jobs:
9
+ visit_page_job:
10
+ runs-on: ubuntu-latest
11
12
+ steps:
13
+ - name: Check out repository
14
+ uses: actions/checkout@v2
15
16
+ - name: Set up Node.js
17
+ uses: actions/setup-node@v2
18
+ with:
19
+ node-version: '16' # Ensure Node.js version is compatible
20
21
+ - name: Install dependencies
22
+ run: npm install axios
23
24
+ - name: Run the visit script
25
+ run: node visitPage.js # Replace with the actual path if necessary
0 commit comments