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