-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #75 from camriddell/master
Auto Pull REMARKs via GitHub Action
- Loading branch information
Showing
27 changed files
with
96 additions
and
1,141 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: Copy REMARK metadata | ||
on: | ||
push: | ||
branches: | ||
- master | ||
workflow_dispatch: | ||
|
||
permissions: | ||
contents: write | ||
jobs: | ||
copy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
ref: master | ||
- name: set up Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.11.x' | ||
- name: install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
python -m pip install pyyaml==6.0.0 | ||
- name: copy metadata | ||
run: python scripts/populate_materials.py | ||
- name: update gh-pages branch | ||
run: | | ||
git config --global user.name github-actions | ||
git config --global user.email [email protected] | ||
git checkout --orphan gh-pages | ||
git add . | ||
git commit -m "autopull REMARKs $(date)" | ||
git push --force origin gh-pages |
This file was deleted.
Oops, something went wrong.
Empty file.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.