Skip to content

Commit

Permalink
Execute mirror job twice a day
Browse files Browse the repository at this point in the history
  • Loading branch information
bonigarcia committed Aug 19, 2022
1 parent cba9fda commit 913199b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/mirror.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: mirror

on:
schedule:
- cron: '0 */6 * * *'
- cron: '0 */12 * * *'

jobs:
build:
Expand All @@ -27,12 +27,12 @@ jobs:
git config --local user.email "boni.garcia@uc3m.es"
git config --local user.name "Boni Garcia"
git add *
git commit -m "Update mirror info for geckodriver, operadriver, and iedriver" -a
git commit -m "Update mirror info" -a
echo "::set-output name=commit::true"
fi
- name: Push changes
uses: ad-m/github-push-action@master
if: steps.git.outputs.commit == 'true'
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}

0 comments on commit 913199b

Please sign in to comment.