Skip to content

Merge branch 'main' into dei #10

Merge branch 'main' into dei

Merge branch 'main' into dei #10

Workflow file for this run

name: Deploy

Check failure on line 1 in .github/workflows/django.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/django.yml

Invalid workflow file

`merge` is not a valid event name
on:
merge:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: executing remote ssh commands using ssh key
uses: appleboy/[email protected]
with:
host: ${{ secrets.ELASTIC_IP }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.SSH_PRIVATE_KEY }}
stop_script: cd /home/ubuntu/djangobackend && ./checks.sh