Skip to content

Commit

Permalink
Merge pull request #50 from KSP-CKAN/feature/scheduled-refresh
Browse files Browse the repository at this point in the history
Refresh metadata every night
  • Loading branch information
HebaruSan committed Aug 24, 2024
2 parents 2827366 + a0f01db commit b6da233
Showing 1 changed file with 18 additions and 15 deletions.
33 changes: 18 additions & 15 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit b6da233

Please # to comment.