Skip to content

Refresh

Refresh #24

Workflow file for this run

name: Refresh
on:
schedule:
# “At 00:00 on Sunday.” t. crontab.guru
- cron: '0 0 * * 0'
workflow_dispatch:
permissions:
contents: write
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: master
- env:
GH_TOKEN: ${{ secrets.SANDBOX_ARTIFACTS_TOKEN }}
run: |
sudo apt install -y libarchive-tools
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
./.github/scripts/refresh.sh
git add .
git commit --no-verify -m "Refresh"
for i in {1..50}; do
git pull --rebase && git push && break || sleep 1
done