diff --git a/.forgejo/workflows/build.yml b/.forgejo/workflows/build.yml index 4bc8def..d02bcdd 100644 --- a/.forgejo/workflows/build.yml +++ b/.forgejo/workflows/build.yml @@ -36,7 +36,7 @@ jobs: curl -v --head frostfs.info - name: Setup SSH environment - # TODO: add deploy conditions + if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }} env: SSH_AUTH_SOCK: /tmp/ssh_agent.socket run: | @@ -52,9 +52,9 @@ jobs: rm ~/.ssh/key - name: make deploy + if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }} run: | ssh-add -L make deploy - # TODO: add deploy conditions env: SSH_AUTH_SOCK: /tmp/ssh_agent.socket