Skip to content

Commit

Permalink
revised job
Browse files Browse the repository at this point in the history
Signed-off-by: Natalia Luzuriaga <[email protected]>
  • Loading branch information
natalialuzuriaga committed Oct 25, 2024
1 parent 6d12a0f commit b1415a7
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/markdownToPDF.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,20 @@ jobs:
run: ls -a
- name: List files in tier 1
run: ls -a tier1
addtorepo:
commit_all:
name: Commit all PDFs
runs-on: ubuntu-latest
needs: converttopdf # Ensure this job runs after the PDFs are built
permissions:
contents: write # Set permissions to allow writes to the repository
steps:
- name: Commit and push PDFs
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "Add PDF for all checklists"
env:
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}

- name: Commit and push PDFs
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "Updated all checklists PDFs"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Required for authentication

0 comments on commit b1415a7

Please sign in to comment.