File tree Expand file tree Collapse file tree 2 files changed +31
-0
lines changed Expand file tree Collapse file tree 2 files changed +31
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Update Mirror
2+
3+ on :
4+ schedule :
5+ - cron : ' 0 0 * * *' # Runs daily at midnight UTC
6+ workflow_dispatch : # Allows manual trigger
7+
8+ jobs :
9+ update-mirror :
10+ runs-on : ubuntu-latest
11+
12+ steps :
13+ - name : Checkout repository
14+ uses : actions/checkout@v4
15+ with :
16+ fetch-depth : 0
17+ token : ${{ secrets.GITHUB_TOKEN }}
18+
19+ - name : Configure Git
20+ run : |
21+ git config user.name "github-actions[bot]"
22+ git config user.email "github-actions[bot]@users.noreply.github.com"
23+
24+ - name : Run update mirror script
25+ run : ./update-mirror
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ set -e
4+
5+ git pull https://git-crysp.uwaterloo.ca/SigmaProtocol/sigma-compiler main --tags
6+ git push origin main --tags
You can’t perform that action at this time.
0 commit comments