auto-update-workflow #66
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
# This is a basic workflow to help you get started with Actions | |
name: auto-update-workflow | |
# Controls when the action will run. | |
on: | |
schedule: | |
- cron: "0 3 * * *" | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
auto-update-job: | |
runs-on: ubuntu-latest | |
steps: | |
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | |
- uses: actions/checkout@main | |
- name: configure git | |
run: | | |
git config --global user.email "nicolas.digregorio@gmail.com" | |
git config --global user.name "Nicolas DI GREGORIO" | |
- name: run update.sh | |
run: | | |
echo "Run update.sh" | |
bash .github/scripts/update.sh |