mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-08 11:46:35 +00:00
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:
1 file changed
+1
-1
@@ -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 }}
|
||||
|
||||
Reference in new issue
Block a user