ci: auto-regenerate files
This commit is contained in:
11
.github/scripts/files/examples.yml
vendored
11
.github/scripts/files/examples.yml
vendored
@@ -58,7 +58,7 @@ jobs:
|
||||
if: ${{ success() || failure() }}
|
||||
run: |
|
||||
set +e
|
||||
rm -rf /metrics_renders/metrics.markdown*.{md,pdf}
|
||||
sudo rm -rf /metrics_renders/github-metrics.*
|
||||
sudo mv /metrics_renders/* ./
|
||||
git config user.name github-actions[bot]
|
||||
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
|
||||
@@ -68,15 +68,6 @@ jobs:
|
||||
git commit -m "chore: update examples"
|
||||
git push --force
|
||||
|
||||
set +e
|
||||
git config user.name github-actions[bot]
|
||||
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
|
||||
git pull
|
||||
sudo cp /metrics_renders/* ./
|
||||
git add --all
|
||||
git commit -m "chore: update examples"
|
||||
git push --force
|
||||
|
||||
# ======================================================================================
|
||||
# Special job used to render lowlighter/metrics repository assets
|
||||
# ======================================================================================
|
||||
|
||||
Reference in New Issue
Block a user