Skip to content

Commit

Permalink
CI: update CIFs monthly
Browse files Browse the repository at this point in the history
  • Loading branch information
LaurentRDC committed Jun 15, 2021
1 parent f3c4870 commit 6595d16
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/cifs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Update CIFs

on:
push:
schedule:
# Every month
- cron: '0 0 1 * *'

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Set-up git
run: |
git config user.name "GitHub Actions"
git config user.email "<>"
- name: Update CIFs
run: python -m get_cifs

- name: Commit changes
run: |
git add crystals/cifs/*.cif
git commit -m "Updated CIFs"
git push origin master

0 comments on commit 6595d16

Please sign in to comment.