Spaces:
Sleeping
Sleeping
yml
Browse files- .github/workflows/rebuild +39 -0
- .github/workflows/rebuild-hf.yml +25 -13
- dummy.txt +0 -0
.github/workflows/rebuild
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: air-quality-daily
|
2 |
+
|
3 |
+
on:
|
4 |
+
schedule:
|
5 |
+
- cron: "*/5 * * * *" # Run every 5 minutes (minimum allowed)
|
6 |
+
workflow_dispatch: # Enable manual triggers for debugging
|
7 |
+
|
8 |
+
jobs:
|
9 |
+
schedule_pipelines:
|
10 |
+
runs-on: ubuntu-latest
|
11 |
+
|
12 |
+
permissions:
|
13 |
+
pages: write
|
14 |
+
contents: write
|
15 |
+
|
16 |
+
steps:
|
17 |
+
- name: checkout repo content
|
18 |
+
uses: actions/checkout@v4
|
19 |
+
|
20 |
+
- name: Update dummy file
|
21 |
+
run: echo "$(date)" >> dummy.txt
|
22 |
+
|
23 |
+
- name: github pages publish
|
24 |
+
uses: stefanzweifel/git-auto-commit-action@v5
|
25 |
+
with:
|
26 |
+
commit_message: "Updating dashboard"
|
27 |
+
commit_options: '--no-verify --signoff'
|
28 |
+
|
29 |
+
repository: .
|
30 |
+
|
31 |
+
status_options: '--untracked-files=no'
|
32 |
+
|
33 |
+
skip_dirty_check: true
|
34 |
+
|
35 |
+
skip_fetch: true
|
36 |
+
|
37 |
+
skip_checkout: true
|
38 |
+
|
39 |
+
push_options: '--force'
|
.github/workflows/rebuild-hf.yml
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
name:
|
2 |
|
3 |
on:
|
4 |
schedule:
|
@@ -6,22 +6,34 @@ on:
|
|
6 |
workflow_dispatch: # Enable manual triggers for debugging
|
7 |
|
8 |
jobs:
|
9 |
-
|
10 |
runs-on: ubuntu-latest
|
11 |
|
|
|
|
|
|
|
|
|
12 |
steps:
|
13 |
-
- name:
|
14 |
uses: actions/checkout@v4
|
15 |
|
16 |
-
- name:
|
17 |
run: echo "$(date)" >> dummy.txt
|
18 |
|
19 |
-
- name:
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: air-quality-daily
|
2 |
|
3 |
on:
|
4 |
schedule:
|
|
|
6 |
workflow_dispatch: # Enable manual triggers for debugging
|
7 |
|
8 |
jobs:
|
9 |
+
schedule_pipelines:
|
10 |
runs-on: ubuntu-latest
|
11 |
|
12 |
+
permissions:
|
13 |
+
pages: write
|
14 |
+
contents: write
|
15 |
+
|
16 |
steps:
|
17 |
+
- name: checkout repo content
|
18 |
uses: actions/checkout@v4
|
19 |
|
20 |
+
- name: Update dummy file
|
21 |
run: echo "$(date)" >> dummy.txt
|
22 |
|
23 |
+
- name: github pages publish
|
24 |
+
uses: stefanzweifel/git-auto-commit-action@v5
|
25 |
+
with:
|
26 |
+
commit_message: "Updating dashboard"
|
27 |
+
commit_options: '--no-verify --signoff'
|
28 |
+
|
29 |
+
repository: .
|
30 |
+
|
31 |
+
status_options: '--untracked-files=no'
|
32 |
+
|
33 |
+
skip_dirty_check: true
|
34 |
+
|
35 |
+
skip_fetch: true
|
36 |
+
|
37 |
+
skip_checkout: true
|
38 |
+
|
39 |
+
push_options: '--force'
|
dummy.txt
ADDED
File without changes
|