-
Notifications
You must be signed in to change notification settings - Fork 46
50 lines (41 loc) · 1.37 KB
/
update-reports.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
name: Update Reports
on:
schedule:
- cron: "50 20 * * *"
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
if: github.repository == 'jvm-repo-rebuild/reproducible-central'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Update Reports
run: ./bin/update-reproducibility-summary.sh update
- name: Setup JBang
uses: jbangdev/setup-jbang@main
- name: Checkout gh-pages
uses: actions/checkout@v4
with:
ref: 'gh-pages'
path: 'gh-pages'
- name: Update APIs
run: |
wget https://raw.githubusercontent.com/hboutemy/mcmm-logs/refs/heads/master/outputTimestamp.txt
./bin/update_api.java
rm outputTimestamp.txt
- name: Commit Push
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git config --local user.email "reproducible-central@github.io"
git config --local user.name "Reproducible Central CI"
git add -A
git commit -m "nightly update of content"
git push
cd gh-pages
git config --local user.email "reproducible-central@github.io"
git config --local user.name "Reproducible Central CI"
git add -A
git commit -m "nightly update of content"
git push