Skip to content

Deploy to pydata server #8

Deploy to pydata server

Deploy to pydata server #8

Workflow file for this run

name: Deploy to pydata server
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Deploy to some Server
uses: easingthemes/ssh-deploy@v4
with:
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY_DISCORD }}
SOURCE: "."
REMOTE_HOST: "136.243.153.146"
REMOTE_USER: "root"
TARGET: "/home/discord/"
EXCLUDE: "/dist/, /node_modules/"
SCRIPT_BEFORE: |
whoami
ls -al
SCRIPT_AFTER: |
echo $RSYNC_STDOUT
cd /home/discord
docker compose down
docker compose up --detach --build