Skip to content

build(deps): bump ip from 2.0.0 to 2.0.1 #22

build(deps): bump ip from 2.0.0 to 2.0.1

build(deps): bump ip from 2.0.0 to 2.0.1 #22

Workflow file for this run

name: Deploy showcase
on:
pull_request:
branches:
- main
types:
- closed
jobs:
build-and-deploy:
if: contains(github.head_ref, 'release/') && contains(github.base_ref, 'main') && github.event.action == 'closed' && github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
cache: 'yarn'
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Build showcase
run: yarn nx build showcase
- name: Deploy
uses: easingthemes/ssh-deploy@main
with:
SCRIPT_BEFORE: ls
ARGS: "-rlgoDzvc -i"
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
SOURCE: "dist/showcase/"
REMOTE_HOST: ${{ secrets.SSH_REMOTE_HOST }}
REMOTE_USER: ${{ secrets.SSH_REMOTE_USER }}
TARGET: "/var/www/ngwr-showcase/"