Skip to content

Commit

Permalink
Create cheatsheet.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
EssamWisam authored Apr 19, 2024
1 parent b31005e commit ef8c8e6
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/cheatsheet.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Download MLJ Cheatsheet

on:
schedule:
- cron: "0 */6 * * *"

jobs:
download-and-commit:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Download file
run: |
curl -o mlj_cheatsheet.md https://raw.githubusercontent.com/alan-turing-institute/MLJ.jl/dev/docs/src/mlj_cheatsheet.md
- name: Commit changes
run: |
git config --global user.name "GitHub Actions"
git config --global user.email "[email protected]"
git add mlj_cheatsheet.md
git commit -m "Update MLJ cheatsheet"
git push

0 comments on commit ef8c8e6

Please sign in to comment.