Skip to content

Download DataScienceTutorials Router #898

Download DataScienceTutorials Router

Download DataScienceTutorials Router #898

Workflow file for this run

name: Download DataScienceTutorials Router
on:
schedule:
- cron: "0 */6 * * *"
workflow_dispatch:
jobs:
download-and-commit:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Create directory if it does not exist
run: mkdir -p src/lib/Data
- name: Download file
run: |
curl -o src/lib/Data/head.js https://raw.githubusercontent.com/JuliaAI/DataScienceTutorials.jl/master/_libs/nav/head.js
- name: Commit changes
run: |
git config --global user.name "GitHub Actions"
git config --global user.email "[email protected]"
git add src/lib/Data/head.js
git commit -m "⬆️ Update Tutorials from DataScienceTutorials.jl"
git push