ci: disable deploy log artifact upload when ACT=true

actions/upload-artifact requires ACTIONS_RUNTIME_TOKEN which is not
available when running workflows locally via act. Skip the upload
step in that case to avoid false CI failures.

https://chatgpt.com/share/6960147b-4a2c-800f-bb40-0d31bf1ebaa5
This commit is contained in:
kevinveenbirkenbach committed 2026-01-08 21:32:54 +01:00
1 parent 927048c798
commit fbca540a4e
1 file changed
+1 -1
+1 -1
View File
@@ -126,7 +126,7 @@ jobs:
exit "${overall_rc}"
- name: Upload deploy logs
if: always()
if: ${{ always() && env.ACT != 'true' }}
uses: actions/upload-artifact@v4
with:
name: deploy-logs-server-${{ matrix.app }}