Skip to content

Commit 2297b34

Browse files
Initial commit
0 parents  commit 2297b34

File tree

5 files changed

+59
-0
lines changed

5 files changed

+59
-0
lines changed

.github/workflows/main.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: "Release"
2+
on:
3+
push:
4+
tags:
5+
- '*'
6+
7+
jobs:
8+
9+
convert_via_pandoc:
10+
runs-on: ubuntu-22.04
11+
steps:
12+
- name: Checkout repository and submodules
13+
uses: actions/checkout@v2
14+
with:
15+
submodules: recursive
16+
- run: sudo apt install pandoc texlive-latex-extra
17+
- run: wget https://github.com/jgm/pandoc/releases/download/3.1.7/pandoc-3.1.7-1-amd64.deb
18+
- run: sudo dpkg -i pandoc-3.1.7-1-amd64.deb
19+
- run: echo $PWD
20+
- run: ls -al ./
21+
- run: ls -al ../
22+
- run: pandoc --standalone --self-contained --embed-resources --from markdown --output=BancroftRobodogsNotebook.pdf README.md
23+
- run: ls -al .
24+
- name: release
25+
uses: actions/create-release@v1
26+
id: create_release
27+
with:
28+
draft: false
29+
prerelease: false
30+
release_name: ${{ steps.get_version.outputs.VERSION }}
31+
tag_name: ${{ github.ref }}
32+
env:
33+
GITHUB_TOKEN: ${{ github.token }}
34+
35+
- name: Upload PDF
36+
uses: actions/upload-release-asset@v1
37+
env:
38+
GITHUB_TOKEN: ${{ github.token }}
39+
with:
40+
upload_url: ${{ steps.create_release.outputs.upload_url }}
41+
asset_path: BancroftRobodogsNotebook.pdf
42+
asset_name: BancroftRobodogsNotebook.pdf
43+
asset_content_type: application/binary

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
2+
.DS_Store
3+
BancroftRobodogsNotebook.pdf

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Example Documentation Repo
2+
3+
4+
5+
# Members
6+
7+
Kevin Harrington
8+
9+
![Kevin Harrington](image/kh_profile.jpeg)
10+
11+
Elisa Heinricher
12+
13+
![Elisa as cat](image/elisa.jpg)

image/elisa.jpg

315 KB
Loading

image/kh_profile.jpeg

34.9 KB
Loading

0 commit comments

Comments
 (0)