mirror of
https://github.com/kemko/resume.git
synced 2026-01-01 15:55:47 +03:00
fix: update Actions to push to repo
This commit is contained in:
11
.github/workflows/generate-pdf.yml
vendored
11
.github/workflows/generate-pdf.yml
vendored
@@ -11,6 +11,9 @@ on:
|
|||||||
required: false
|
required: false
|
||||||
default: "Manual trigger"
|
default: "Manual trigger"
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
generate-pdf:
|
generate-pdf:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -34,8 +37,8 @@ jobs:
|
|||||||
|
|
||||||
- name: Commit PDF
|
- name: Commit PDF
|
||||||
run: |
|
run: |
|
||||||
git config --local user.email "action@github.com"
|
git config --global user.name "${{ github.actor }}"
|
||||||
git config --local user.name "GitHub Action"
|
git config --global user.email "${{ github.actor}}@users.noreply.github.com"
|
||||||
git add output/art_rosnovsky_software_engineer.pdf
|
git add output/art_rosnovsky_software_engineer.pdf
|
||||||
git commit -m "Update resume PDF" -a || echo "No changes to commit"
|
git commit -m "${{ github.event.head_commit.message }}"
|
||||||
git push --force https://${{ secrets.GITHUB_TOKEN }}@github.com/rosnovsky/resume.git main
|
git push
|
||||||
|
|||||||
Reference in New Issue
Block a user