deploy: Only from master
Signed-off-by: Vitaliy Potyarkin <v.potyarkin@yadro.com>
This commit is contained in:
parent
1739d59c32
commit
429f29dfc7
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue