remove debuggings, use date tags
All checks were successful
Build and Publish / build_html (push) Successful in 38s
All checks were successful
Build and Publish / build_html (push) Successful in 38s
This commit is contained in:
@@ -19,10 +19,6 @@ jobs:
|
|||||||
npm i
|
npm i
|
||||||
npm run build
|
npm run build
|
||||||
|
|
||||||
- name: List files in the repository
|
|
||||||
run: |
|
|
||||||
ls ${{ gitea.workspace }}
|
|
||||||
|
|
||||||
- name: Install weasyprint
|
- name: Install weasyprint
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
@@ -34,13 +30,14 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
venv/bin/weasyprint generated_resume.html resume.pdf
|
venv/bin/weasyprint generated_resume.html resume.pdf
|
||||||
|
|
||||||
- name: List files in the repository
|
- name: Generate tag
|
||||||
run: |
|
id: tag
|
||||||
ls ${{ gitea.workspace }}
|
run: echo "tag=resume-$(date +'%Y%m%d-%H%M%S')" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
uses: akkuman/gitea-release-action@v1
|
uses: akkuman/gitea-release-action@v1
|
||||||
with:
|
with:
|
||||||
files: |-
|
files: |-
|
||||||
resume.pdf
|
resume.pdf
|
||||||
|
tag_name: ${{ steps.tag.outputs.tag }}
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|||||||
Reference in New Issue
Block a user