Skip to content

Commit

Permalink
Merge pull request #75 from camriddell/master
Browse files Browse the repository at this point in the history
Auto Pull REMARKs via GitHub Action
  • Loading branch information
camriddell authored Oct 10, 2024
2 parents 4e419d4 + edbb67d commit 1908bc4
Show file tree
Hide file tree
Showing 27 changed files with 96 additions and 1,141 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/fetch-remark-metadata.yml
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
51 changes: 0 additions & 51 deletions _materials/Aiyagari.md

This file was deleted.

Empty file.
45 changes: 0 additions & 45 deletions _materials/AiyagariIdiosyncratic/README.md

This file was deleted.

50 changes: 0 additions & 50 deletions _materials/BayerLuetticke.md

This file was deleted.

47 changes: 0 additions & 47 deletions _materials/BlanchardPA2019.md

This file was deleted.

52 changes: 0 additions & 52 deletions _materials/BufferStock-LifeCycle.md

This file was deleted.

57 changes: 0 additions & 57 deletions _materials/BufferStockTheory.md

This file was deleted.

Loading

0 comments on commit 1908bc4

Please sign in to comment.