Skip to content

Pi2 predictions updated by khairuladib94 #923

Pi2 predictions updated by khairuladib94

Pi2 predictions updated by khairuladib94 #923

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