7
0
mirror of https://github.com/marado/RNID.git synced 2024-09-19 08:25:17 +00:00
rnid/.github/workflows/scripts.yml

32 lines
833 B
YAML
Raw Normal View History

2021-10-24 15:49:13 +00:00
name: Run validation scripts
on:
schedule:
# Every day at 1:00 (AM) UTC
- cron: '*/5 * * * *'
jobs:
run-validation-scripts:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
- name: Run validation scripts
run: |
sudo apt install curl git html-xml-utils wget -y
"${GITHUB_WORKSPACE}/scripts/01-parlamento.sh"
- name: Commit file(s)
run: |
git config --local user.email "<>"
git config --local user.name "GitHub Actions"
git add ./README.md
git commit -m "Update de $(date +"%Y-%m-%d")"
- name: Push changes # push the output folder to your repo
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
force: true