Skip to content

Merge pull request #79 from PoolC/master #33

Merge pull request #79 from PoolC/master

Merge pull request #79 from PoolC/master #33

name: web client deploy production
on:
push:
branches: [release/web-client]
jobs:
deploy:
runs-on: ubuntu-22.04
environment: production # @TODO.. rename to 'web-client-deploy-production'
steps:
- uses: actions/checkout@v4
- name: build
run: |
docker compose -f=./apps/web-client/deploy-app/docker-compose.yml up -d --build
- name: scp
uses: appleboy/[email protected]
with:
host: ${{ secrets.SSH_HOST }}
username: ${{ secrets.SSH_USERNAME }}
key: ${{ secrets.SSH_PEM_KEY }}
port: ${{ secrets.SSH_PORT }}
source: '/apps/web-client/build'
target: dialga/apps/web-client/build
rm: true