Run rhoai-disconnected-helper script once a day #185
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: Run rhods-disconnected-helper script once a day | |
on: | |
schedule: | |
- cron: '0 12 * * *' | |
push: | |
branches: | |
- main | |
jobs: | |
run-script: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run rhods-disconnected-helper.sh script | |
run: | | |
chmod +x rhods-disconnected-helper.sh | |
./rhods-disconnected-helper.sh | |
shell: bash | |
- name: Commit and push changes to main branch | |
uses: actions-js/push@master | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
branch: main | |
message: "Update rhods-disconnected-helper.sh script" | |
repository: red-hat-data-services/rhods-disconnected-install-helper |