aboutsummaryrefslogblamecommitdiffstats
path: root/.github/workflows/main.yml
blob: bca7215b72084573a922d7d65c1a2a0c2742f0d2 (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 circuitsv2.json
          curl -O "https://raw.githubusercontent.com/tyleo-rec/CircuitsV2Resources/master/misc/circuitsv2.json"
          git push