Compare commits

...

2 Commits

Author SHA1 Message Date
Bartosz Taudul
dd29819f3d Merge pull request #1472 from alandtse/fix/emscripten-deploy-fork-guard
ci(emscripten): skip SFTP deploy on forks
2026-09-15 13:04:37 +02:00
Alan Tse
2ba0e21c97 ci(emscripten): skip SFTP deploy on forks
The deploy job SFTPs the emscripten build using repo secrets
(SERVER/USERNAME/PRIVATE_KEY/REMOTE_PATH) that only exist upstream.
On a fork these are empty, so every push to a fork's master fails
with "remote_path is empty" even though the actual build succeeded.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LVBiYgtsB6okBueTwp5swa
2026-09-15 02:38:43 -07:00

View File

@@ -69,7 +69,7 @@ jobs:
deploy:
runs-on: ubuntu-latest
needs: build-emscripten
if: github.ref == 'refs/heads/master'
if: github.ref == 'refs/heads/master' && github.repository == 'wolfpld/tracy'
steps:
- uses: actions/download-artifact@v4
- uses: wlixcc/SFTP-Deploy-Action@v1.2.4