diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index cf24272..23d8be2 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,20 +1,23 @@ name: Deploy Metadata Webtool on: - push: - branches: - - master + push: + branches: + - master + schedule: + - cron: '53 22 * * *' + jobs: - deploy: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v2.3.4 + deploy: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2.3.4 - - name: Refresh Data - run: python refresh_datajs.py + - name: Refresh Data + run: python refresh_datajs.py - - name: Deploy - uses: JamesIves/github-pages-deploy-action@4.1.1 - with: - folder: static - branch: gh-pages + - name: Deploy + uses: JamesIves/github-pages-deploy-action@4.1.1 + with: + folder: static + branch: gh-pages