Skip to content

Commit

Permalink
Add job to periodically update the CCD
Browse files Browse the repository at this point in the history
  • Loading branch information
padix-key committed Mar 22, 2024
1 parent 241211a commit 3c48da8
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/update_static.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
name: "Update static data"

on:
workflow_dispatch:
schedule:
# Run monthly on the first day of the month
- cron: "0 0 1 * *"
# TODO: Remove
pull_request:

jobs:
build-package:
name: Update CCD subset
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: true
- name: Install Biotite
run: pip install .
- name: Create CCD
run: python setup_ccd.py
#- name: Create pull request for changes
# uses: peter-evans/create-pull-request@v6
# with:
# base: master
# commit-message: "Update CCD dataset"
# branch: "auto-ccd-update"
# title: "Update CCD dataset"
# body: |
# This automatic pull request brings the CCD subset in
# `biotite.structure.info` up-to-date with the latest CCD from
# wwPDB.

0 comments on commit 3c48da8

Please sign in to comment.