Обновить .gitea/workflows/gitea-actions.yml
Some checks failed
Gitea Actions / Build and deploy (push) Failing after 4s

This commit is contained in:
Dhaverd 2024-03-13 11:26:13 +03:00
parent dfef3e7342
commit 6d83fe2de4

View File

@ -12,13 +12,18 @@ jobs:
echo "${{ secrets.ENVIRONMENT }}" > ./.env
cat ./.env
- name: Stop site service on remote server
uses: D3rHase/ssh-command-action@v0.2.2
with:
host: ${{secrets.SSH_HOST}}
user: ${{secrets.SSH_USER}}
private_key: ${{secrets.SSH_KEY}}
command: |
systemctl stop resume
run: |
ssh root@92.246.136.233
yeoNc2gy7AZC
systemctl stop resume
exit
# uses: D3rHase/ssh-command-action@v0.2.2
# with:
# host: ${{secrets.SSH_HOST}}
# user: ${{secrets.SSH_USER}}
# private_key: ${{secrets.SSH_KEY}}
# command: |
# systemctl stop resume
- name: Checkout code
uses: actions/checkout@v3
- name: Install PHP