Skip to content

fix: Proper spacing in the <DetailedLogs> header component #28

fix: Proper spacing in the <DetailedLogs> header component

fix: Proper spacing in the <DetailedLogs> header component #28

name: Deploy Volunteer Manager (Staging)
on: [ workflow_dispatch, push ]
jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
steps:
- name: Deploy the manager to staging
uses: appleboy/[email protected]
with:
host: ${{ secrets.HOST_STAGING }}
port: ${{ secrets.PORT_STAGING }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.KEY }}
command_timeout: 20m
script: |
cd ~/volunteer-manager-staging
git reset --hard
git pull --rebase
npm install --force
npm run-script test
npm run-script build-staging
docker system prune -f
docker stop volunteer-manager-staging
docker rm volunteer-manager-staging
docker run -d --name volunteer-manager-staging --restart always -p 3002:3002 volunteer-manager-staging:latest