🔁 Snapshot hebdomadaire des menus #89
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: 🔁 Snapshot hebdomadaire des menusà à déguster sur place | |
run-name: 🔁 Snapshot hebdomadaire des menus | |
on: | |
schedule: | |
- cron: '0 12 * * 2' | |
jobs: | |
Snapshot-Menus: | |
runs-on: ubuntu-latest | |
steps: | |
- name: 📥 Check out repository code | |
uses: actions/checkout@v3 | |
- run: echo "ℹ️ The ${{ github.repository }} repository has been cloned to the runner." | |
- name: 🤖 Generate file | |
run: | | |
ls ${{ github.workspace }} | |
chmod u+x menus.sh | |
pip install auptitcafe --upgrade | |
pip install duckdb --upgrade | |
./menus.sh | |
ls -ltr | |
- name: 📤 Commit file | |
run: | | |
git config --global user.name "adriens" | |
git config --global user.email "[email protected]" | |
git commit -a -m "🔁 Daily snapshot des menus 📜, cf #1" | |
git push origin main | |
- run: echo "🍏 This job's status is ${{ job.status }}." |