Skip to content

fix name of workflow #2

fix name of workflow

fix name of workflow #2

Workflow file for this run

name: Production Deployment
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup SSH
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.THE_KEY }}
- name: Deploy to Server
run: |
ssh -o StrictHostKeyChecking=no [email protected] << 'EOF'
cd /etc/compose/apps/adr
git pull origin main
cd /etc/compose/apps/
docker compose down
docker compose up -d
EOF