Skip to content

Merge pull request #146 from lowercasename/rk/unattend-email-link #30

Merge pull request #146 from lowercasename/rk/unattend-email-link

Merge pull request #146 from lowercasename/rk/unattend-email-link #30

Workflow file for this run

name: CI / Deploy
on:
workflow_dispatch:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 8
- name: Set up known_hosts file
run: |
mkdir -p ~/.ssh/ && touch ~/.ssh/known_hosts
ssh-keyscan -t rsa ${{ secrets.SSH_HOST }} >> ~/.ssh/known_hosts
- uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.SSH_KEY }}
- name: Install PM2
run: pnpm install -g pm2
- name: Deploy
run: pnpm run deploy