Update .gitea/workflows/test-and-publish.yaml
All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 20s

This commit is contained in:
Your Name
2025-08-24 20:59:46 +12:00
parent 2e7aec1134
commit 741504f698
2 changed files with 85 additions and 2 deletions

View File

@@ -51,11 +51,10 @@ jobs:
- name: Publish changed templates
if: github.ref == 'refs/heads/main' && github.event_name == 'push' && steps.changes.outputs.changed == 'true'
env:
SOS_WRITE_TOKEN: ${{ secrets.SOS_WRITE_TOKEN }}
run: |
chmod +x publish.sh
# Publish only changed templates
SOS_WRITE_TOKEN=${{ secrets.SOS_WRITE_TOKEN }} \
./publish.sh --changed-only
- name: Update versions after successful publish