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 install -y pandoc wkhtmltopdf
|
||||
|
||||
- name: Generate HTML
|
||||
run: pandoc --css=resume-css-stylesheet.css -s -o resume.html resume.md
|
||||
- name: Build resume formats
|
||||
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
|
||||
run: wkhtmltopdf --enable-local-file-access resume.html resume.pdf
|
||||
|
||||
- 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
|
||||
- name: Upload to Forgejo “latest” release
|
||||
uses: actions/forgejo-release@v2.5.0
|
||||
with:
|
||||
name: resume-pdf
|
||||
path: resume.pdf
|
||||
|
||||
- name: Upload DOCX Artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: resume-docx
|
||||
path: resume.docx
|
||||
direction: upload
|
||||
url: https://gitfor.ge
|
||||
repo: musselman/resume
|
||||
tag: latest
|
||||
token: ${{ secrets.FORGEJO_SECRET }}
|
||||
release-dir: .
|
||||
override: true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue