Robzy commited on
Commit
2ef1c85
1 Parent(s): 89b6f32
.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: rebuild-hf
2
 
3
  on:
4
  schedule:
@@ -6,22 +6,34 @@ on:
6
  workflow_dispatch: # Enable manual triggers for debugging
7
 
8
  jobs:
9
- rebuild:
10
  runs-on: ubuntu-latest
11
 
 
 
 
 
12
  steps:
13
- - name: Checkout repository
14
  uses: actions/checkout@v4
15
 
16
- - name: Debug rebuild - Update a dummy file
17
  run: echo "$(date)" >> dummy.txt
18
 
19
- - name: Commit and push changes
20
- env:
21
- HOPSWORKS_API_KEY: ${{ secrets.HOPSWORKS_API_KEY }}
22
- run: |
23
- git config --global user.name "GitHub Actions"
24
- git config --global user.email "actions@github.com"
25
- git add dummy.txt
26
- git commit -m "Debug Rebuild Trigger: $(date)"
27
- git push
 
 
 
 
 
 
 
 
 
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