Skip to content

Update open-paws-strategy submodule to latest #127

Update open-paws-strategy submodule to latest

Update open-paws-strategy submodule to latest #127

Workflow file for this run

name: Deploy to Production
on:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: read
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Deploy to Droplet
uses: appleboy/ssh-action@0ff4204d59e8e51228ff73bce53f80d53301dee2 # v1.2.5
with:
host: 64.227.144.36
username: root
key: ${{ secrets.DEPLOY_SSH_KEY }}
script: |
set -e
cd /opt/cryptpad
echo "[$(date)] Starting deployment..."
git config --global --add safe.directory /opt/cryptpad
git fetch origin
git reset --hard origin/main
docker compose build
docker compose down --remove-orphans || true
docker compose up -d
echo "[$(date)] Deployment complete!"