Skip to content

Commit

Permalink
Switch to uploading generated files as artifact instead of committing…
Browse files Browse the repository at this point in the history
… them.
  • Loading branch information
Staacks committed Dec 10, 2024
1 parent 4f42344 commit 964defc
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/conditional_convert_via_pandoc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,14 @@ jobs:
run: |
echo "$list_changed_files"
bash ./pandoc.sh "$list_changed_files"
- name: Commit files # transfer the new files into the repository
run: |
git config --local user.name "GH_Action_Bot"
git add ./content
git commit -m "GH Action: Pandoc | New output for changed files"
git push -f origin main
# - name: Save artifacts # Instead of 'Commit files'. Saves the files as .zip
# uses: actions/upload-artifact@v4
# with:
# name: pandoc-artifact
# path: content/
# - name: Commit files # transfer the new files into the repository
# run: |
# git config --local user.name "GH_Action_Bot"
# git add ./content
# git commit -m "GH Action: Pandoc | New output for changed files"
# git push -f origin main
- name: Save artifacts # Instead of 'Commit files'. Saves the files as .zip
uses: actions/upload-artifact@v4
with:
name: pandoc-artifact
path: content/

0 comments on commit 964defc

Please sign in to comment.