deploy: Only from master
All checks were successful
build static site / build (push) Successful in 27s
build static site / build (pull_request) Successful in 21s

Signed-off-by: Vitaliy Potyarkin <v.potyarkin@yadro.com>
This commit is contained in:
Vitaliy Potyarkin 2024-08-29 15:17:28 +03:00
parent 1739d59c32
commit 429f29dfc7

View file

@ -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