Skip to content

testing deploy 2

testing deploy 2 #2

Workflow file for this run

name: Deploy to Server
on:
push:
branches:
- deploytest
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup SSH
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.DEPLOY_SSH_KEY }}
- name: Deploy code via SSH
run: |
ssh -o StrictHostKeyChecking=no [email protected] "cd /home/elliott/guestbook && docker compose up -d"