CI #1162
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
schedule: | |
- cron: "0 13 * * *" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
# Runs a single command using the runners shell | |
- name: Run update | |
run: | | |
./run.sh | |
# Runs a set of commands using the runners shell | |
- name: Commit | |
run: | | |
git config --local user.email "action@github.com" | |
git config --local user.name "GitHub Action" | |
git add ranges* | |
git diff-index --quiet HEAD || git commit -m "Update ranges" -a && git push "https://daehee:${{ secrets.GITHUB_TOKEN }}@github.com/daehee/govcloud.git" HEAD:master --follow-tags |