Test update
This commit is contained in:
parent
450742e54c
commit
353b157407
1 changed files with 14 additions and 18 deletions
|
@ -21,23 +21,19 @@ jobs:
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install -y pandoc wkhtmltopdf
|
apt-get install -y pandoc wkhtmltopdf
|
||||||
|
|
||||||
- name: Generate HTML
|
- name: Build resume formats
|
||||||
run: pandoc --css=resume-css-stylesheet.css -s -o resume.html resume.md
|
run: |
|
||||||
|
pandoc --css=resume-css-stylesheet.css -s -o resume.html resume.md
|
||||||
|
wkhtmltopdf --enable-local-file-access resume.html resume.pdf
|
||||||
|
pandoc -o resume.docx --reference-doc=resume-docx-reference.docx resume.md
|
||||||
|
|
||||||
- name: Generate PDF
|
- name: Upload to Forgejo “latest” release
|
||||||
run: wkhtmltopdf --enable-local-file-access resume.html resume.pdf
|
uses: actions/forgejo-release@v2.5.0
|
||||||
|
|
||||||
- name: Generate DOCX
|
|
||||||
run: pandoc -o resume.docx --reference-doc=resume-docx-reference.docx resume.md
|
|
||||||
|
|
||||||
- name: Upload PDF Artifact
|
|
||||||
uses: actions/upload-artifact@v3
|
|
||||||
with:
|
with:
|
||||||
name: resume-pdf
|
direction: upload
|
||||||
path: resume.pdf
|
url: https://gitfor.ge
|
||||||
|
repo: musselman/resume
|
||||||
- name: Upload DOCX Artifact
|
tag: latest
|
||||||
uses: actions/upload-artifact@v3
|
token: ${{ secrets.FORGEJO_SECRET }}
|
||||||
with:
|
release-dir: .
|
||||||
name: resume-docx
|
override: true
|
||||||
path: resume.docx
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue