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
|
curl -v --head frostfs.info
|
||||||
|
|
||||||
- name: Setup SSH environment
|
- name: Setup SSH environment
|
||||||
# TODO: add deploy conditions
|
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
|
||||||
env:
|
env:
|
||||||
SSH_AUTH_SOCK: /tmp/ssh_agent.socket
|
SSH_AUTH_SOCK: /tmp/ssh_agent.socket
|
||||||
run: |
|
run: |
|
||||||
|
@ -52,9 +52,9 @@ jobs:
|
||||||
rm ~/.ssh/key
|
rm ~/.ssh/key
|
||||||
|
|
||||||
- name: make deploy
|
- name: make deploy
|
||||||
|
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
|
||||||
run: |
|
run: |
|
||||||
ssh-add -L
|
ssh-add -L
|
||||||
make deploy
|
make deploy
|
||||||
# TODO: add deploy conditions
|
|
||||||
env:
|
env:
|
||||||
SSH_AUTH_SOCK: /tmp/ssh_agent.socket
|
SSH_AUTH_SOCK: /tmp/ssh_agent.socket
|
||||||
|
|
Loading…
Reference in a new issue