Pi2 predictions updated by khairuladib94 #943
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: Update Pi2 Predictions | |
run-name: Pi2 predictions updated by ${{ github.actor }} | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 0/6 * * *' | |
jobs: | |
update-predictions: | |
name: Update Pi2 Predictions | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
with: | |
lfs: true | |
- name: Set up MATLAB | |
uses: matlab-actions/setup-matlab@v1 | |
- name: Run script | |
uses: matlab-actions/run-command@v1 | |
with: | |
command: StartPrediction | |
- name: Commit and push | |
uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
branch: 'main' | |
commit_message: 'Update predictions' | |
commit_user_name: khairuladib94 | |
commit_user_email: adib.yusof@upm.edu.my |