-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update file paths and metadata for production
- Loading branch information
1 parent
1b53aa5
commit acb8cd0
Showing
5 changed files
with
111 additions
and
71 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,48 @@ | ||
name: Deploy active syllabi | ||
|
||
on: | ||
push: | ||
branches: main | ||
tags: | ||
- v* | ||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Working directory check | ||
run: | | ||
pwd | ||
ls | ||
- name: Install Pandoc | ||
uses: r-lib/actions/setup-pandoc@v2 | ||
|
||
- name: Install XeLaTeX | ||
run: sudo apt-get install -y texlive-xetex | ||
|
||
- name: Download lua-filter | ||
run: wget https://raw.githubusercontent.com/pandoc/lua-filters/master/include-files/include-files.lua | ||
|
||
- name: Verify dependencies | ||
run: | | ||
pandoc --version | ||
xetex --version | ||
ls include-files.lua | ||
- name: Build | ||
run: bash build.sh | ||
|
||
- name: Check for Resulting PDF | ||
run: | | ||
ls build/*.pdf | ||
- name: Release | ||
uses: softprops/action-gh-release@v1 | ||
if: startsWith(github.ref, 'refs/tags/') | ||
with: | ||
files: | | ||
build/*.pdf |
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,11 @@ | ||
if [ ! -e build/ ] ; then | ||
mkdir build/ | ||
fi | ||
|
||
pandoc --metadata-file config/pandoc-metadata.yaml --lua-filter include-files.lua --citeproc --number-sections \ | ||
zetteln/frame-0000-20240101165940.md \ | ||
-o build/engl321-2024-spring.pdf | ||
|
||
pandoc --metadata-file config/pandoc-metadata.yaml --lua-filter include-files.lua --citeproc --number-sections \ | ||
zetteln/frame-0002-20240110165851.md \ | ||
-o build/engl441-2024-spring.pdf |
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,10 @@ | ||
--- | ||
geometry: margin=1in | ||
fontsize: 12pt | ||
colorlinks: True | ||
link-citations: True | ||
toc: True | ||
csl: config/modern-language-association.csl | ||
suppress-bibliography: # true | ||
include-auto: True | ||
--- |
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
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