aboutsummaryrefslogblamecommitdiffstats
path: root/.github/workflows/main.yml
blob: 749b7d156007eca2d24da8d6f24eab099a0d5558 (plain) (tree)
1
2
3
4
5
6
7
8
9
                  
 



                       

                    
     
     

                          
          

                                 
                                    

                              

                                                                                                                             
                  
name: JSON updater

on:
  schedule:
    - cron: "0 0 * * *"
    
  workflow_dispatch:

jobs:
  DL:
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v2

      - name: Update the danged JSON
        run: |
          cd $GITHUB_WORKSPACE
          rm circuits.json
          curl -o circuits.json "https://raw.githubusercontent.com/tyleo-rec/CircuitsV2Resources/master/misc/circuitsv2.json"
          git push