Skip to content

Commit

Permalink
try this
Browse files Browse the repository at this point in the history
  • Loading branch information
eviau-artefactual committed Jan 4, 2024
1 parent 648beb4 commit ee321ce
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 38 deletions.
39 changes: 1 addition & 38 deletions .github/workflows/make-bibs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,44 +3,7 @@ name: pandoc-make-bibs
on: push

jobs:
make_bib:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3

- name: create output dir
id: make_dir
run: mkdir output
- uses: docker://pandoc/core:2.9
with:
args: >-
--filter=pandoc-citeproc generatebib.md
-o output/archivematica-bib.md
--bibliography archivematica.bib
- uses: docker://pandoc/core:2.9
with:
args: >-
--filter=pandoc-citeproc
--standalone generatebib.md
-o output/archivematica-bib.html
--bibliography archivematica.bib
- name: make README
run: cat output/archivematica-bib.md intro_placeholder.md > output/README.md
- uses: actions/upload-artifact@v3
with:
name: output
path: ./

on:
pull_request:
types:
- opened
branches:
- 'dev/**'
- 'restructure'

jobs:
make_bib:
make_publish_bib:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
Expand Down
37 changes: 37 additions & 0 deletions .github/workflows/test-bibs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: test_bibs
on:
pull_request:
types:
- opened
branches:
- 'dev/**'
- 'restructure'

jobs:
test_bib:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3

- name: create output dir
id: make_dir
run: mkdir output
- uses: docker://pandoc/core:2.9
with:
args: >-
--filter=pandoc-citeproc generatebib.md
-o output/archivematica-bib.md
--bibliography archivematica.bib
- uses: docker://pandoc/core:2.9
with:
args: >-
--filter=pandoc-citeproc
--standalone generatebib.md
-o output/archivematica-bib.html
--bibliography archivematica.bib
- name: make README
run: cat output/archivematica-bib.md intro_placeholder.md > output/README.md
- uses: actions/upload-artifact@v3
with:
name: output
path: ./

0 comments on commit ee321ce

Please sign in to comment.