Skip to content

Commit

Permalink
Update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
skambalin committed May 6, 2024
1 parent 55c9aa9 commit 6006a43
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions .github/workflows/compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,32 @@ on:
push: {}
pull_request: {}

permissions:
contents: write
pull-requests: write

jobs:
build:
compile:
name: Compile CV
runs-on: ubuntu-latest
container: texlive/texlive:latest

steps:
- name: Checkout repo
uses: actions/checkout@v4
with:
persist-credentials: false
fetch-depth: 0
- uses: actions/checkout@master
name: Checkout repository
# with:
# persist-credentials: false
# fetch-depth: 0

- name: Compile
run: xelatex SergeyKambalin.tex

- name: Commit & Push changes
uses: actions-js/push@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
message: "Auto-compile CV: ${date}"
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.head_ref }}

- uses: actions/upload-artifact@v4
name: Upload CV
Expand Down

0 comments on commit 6006a43

Please sign in to comment.