mirror of
https://github.com/SAT-R/sa2.git
synced 2026-10-28 09:43:38 +00:00
update maps on commit
This commit is contained in:
1 parent
ff14b8111a
commit
7abe90f398
1 file changed
+3
-1
@@ -83,10 +83,12 @@ jobs:
|
||||
if: ${{ github.event_name == 'push' }}
|
||||
run: |
|
||||
mkdir -p gh-pages/reports
|
||||
mkdir -p gh-pages/maps
|
||||
python3 scripts/progress.py csv >> gh-pages/reports/progress-sa2-nonmatching.csv
|
||||
python3 scripts/progress.py csv -m >> gh-pages/reports/progress-sa2-matching.csv
|
||||
python3 scripts/progress.py shield-json > gh-pages/reports/progress-sa2-shield.json
|
||||
echo "REPORTS_COMMIT_MSG=$( git log --format=%s ${GITHUB_SHA} )" >> $GITHUB_ENV
|
||||
cp sa2.map gh-pages/maps/${GITHUB_SHA}.map
|
||||
|
||||
- name: Update reports
|
||||
if: ${{ github.event_name == 'push' }}
|
||||
@@ -94,7 +96,7 @@ jobs:
|
||||
with:
|
||||
branch: gh-pages
|
||||
cwd: "./gh-pages"
|
||||
add: "reports"
|
||||
add: "reports maps"
|
||||
message: ${{ env.REPORTS_COMMIT_MSG }}
|
||||
|
||||
# - name: Modern
|
||||
|
||||
Reference in new issue
Block a user