Skip to content

Merge pull request #235 from agiledev-students-fall2023/darkmode-styling #36

Merge pull request #235 from agiledev-students-fall2023/darkmode-styling

Merge pull request #235 from agiledev-students-fall2023/darkmode-styling #36

Workflow file for this run

name: Deploy to DigitalOcean
on:
push:
branches:
- master
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
# SSH and Deploy to DigitalOcean Droplet
- name: Deploy to DigitalOcean Droplet
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.DROPLET_IP }}
username: ${{ secrets.SSH_USER }}
key: ${{ secrets.SSH_PRIVATE_KEY }}
script: |
cd 4-final-project-group-bill-splitting-app
git pull origin master
docker-compose down
docker-compose up --build -d