combine into a single job rather than use artifacts
Some checks failed
Build and Publish / build_html (push) Failing after 1m17s
Some checks failed
Build and Publish / build_html (push) Failing after 1m17s
This commit is contained in:
@@ -9,33 +9,36 @@ jobs:
|
||||
steps:
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: "latest"
|
||||
|
||||
- name: Build the resume
|
||||
run: |
|
||||
npm i
|
||||
npm run build
|
||||
|
||||
- name: List files in the repository
|
||||
run: |
|
||||
ls ${{ gitea.workspace }}
|
||||
|
||||
convert_to_pdf:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Install weasyprint
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y python3-venv python3-pip libpango-1.0-0 libpangoft2-1.0-0
|
||||
python3 -m venv venv
|
||||
venv/bin/pip install weasyprint
|
||||
|
||||
- name: Convert to pdf
|
||||
run: |
|
||||
venv/bin/weasyprint generated_resume.html resume.pdf
|
||||
|
||||
- name: List files in the repository
|
||||
run: |
|
||||
ls ${{ gitea.workspace }}
|
||||
|
||||
upload_as_release:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Create Release
|
||||
uses: akkuman/gitea-release-action@v1
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user