diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a5f54d1b8..a505efdf8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -173,7 +173,7 @@ jobs: compression-level: 9 upload: - if: github.repository == 'QW-group/ezquake-source' && ((github.event_name == 'push' && github.ref == 'refs/heads/master') || github.event_name == 'release') + if: github.repository == 'qw-ctf/ezquake-source' && ((github.event_name == 'push') || github.event_name == 'release') needs: [macos-universal] runs-on: ubuntu-latest steps: @@ -261,7 +261,7 @@ jobs: - name: Setup SSH run: | ssh-agent -a $SSH_AUTH_SOCK > /dev/null - ssh-add - <<< "${{ secrets.SSH_PRIVATE_KEY }}" + echo ssh-add - <<< "${{ secrets.SSH_PRIVATE_KEY }}" env: SSH_AUTH_SOCK: /tmp/ssh_agent.sock @@ -326,4 +326,4 @@ jobs: env: SSH_AUTH_SOCK: /tmp/ssh_agent.sock run: | - sftp -rp -o 'StrictHostKeyChecking no' -o 'UserKnownHostsFile /dev/null' -P ${{ secrets.SFTP_PORT }} ${{ secrets.SFTP_USERNAME }}@${{ secrets.SFTP_HOST }}:/${{ env.UPLOAD_PREFIX }} <<< $'put -rp upload/${{ env.UPLOAD_PREFIX }}/*' \ No newline at end of file + echo sftp -rp -o 'StrictHostKeyChecking no' -o 'UserKnownHostsFile /dev/null' -P ${{ secrets.SFTP_PORT }} ${{ secrets.SFTP_USERNAME }}@${{ secrets.SFTP_HOST }}:/${{ env.UPLOAD_PREFIX }} <<< $'put -rp upload/${{ env.UPLOAD_PREFIX }}/*' \ No newline at end of file