Skip to content

test: fix failing unit tests #31

test: fix failing unit tests

test: fix failing unit tests #31

Workflow file for this run

name: Deploy docs
on:
push:
branches: [main]
paths:
- "docs/**"
- "src/**"
- "!src/__tests__"
workflow_dispatch:
jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v2
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version-file: .node-version
cache: pnpm
- name: 📦 Install dependencies
run: pnpm install
- name: ⚒️ Build
run: pnpm docs:build
- name: Deploy
uses: appleboy/[email protected]
with:
host: ${{ secrets.SSH_HOST }}
username: ${{ secrets.SSH_USERNAME }}
password: ${{ secrets.SSH_PASSWORD }}
envs: GITHUB_SERVER_URL,GITHUB_REPOSITORY
script: npx nginx-proxy-cli deploy $GITHUB_SERVER_URL/$GITHUB_REPOSITORY --dir=~/nginx-proxy/applications