remove workflow
This commit is contained in:
parent
cf4bce12eb
commit
fd58681c1b
25
.github/workflow/deploy.yml
vendored
25
.github/workflow/deploy.yml
vendored
@ -1,25 +0,0 @@
|
||||
name: Deploy Backend
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Déployer sur le serveur
|
||||
uses: appleboy/ssh-action@v0.1.10
|
||||
with:
|
||||
host: ${{ secrets.SERVER_HOST }}
|
||||
username: ${{ secrets.SERVER_USER }}
|
||||
key: ${{ secrets.SERVER_SSH_KEY }}
|
||||
script: |
|
||||
cd /home/ynov/project
|
||||
git fetch origin
|
||||
git reset --hard origin/master
|
||||
docker compose build --no-cache backend
|
||||
docker compose up -d backend
|
||||
docker compose restart backend
|
||||
curl -k https://ynov.ptits-pas.fr/api/v1
|
||||
Loading…
x
Reference in New Issue
Block a user