Skip to content

Build and Deploy

Build and Deploy #1

Workflow file for this run

name: Build Client
on:
workflow_dispatch:
push:
paths:
- 'client/**'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Connect VPS
uses: appleboy/ssh-action@

Check failure on line 18 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / Build Client

Invalid workflow file

The workflow is not valid. .github/workflows/build.yml (Line: 18, Col: 15): Expected format {org}/{repo}[/path]@ref. Actual 'appleboy/ssh-action@' Input string was not in a correct format. Failure to parse near offset 73. Expected an ASCII digit.
with:
host: ${{ secrets.VPS_IP }}
username: ${{ secrets.VPS_USERNAME }}
password: ${{ secrets.VPS_PASSWORD }}
port: ${{ secrets.VPS_PORT }}
script: |
cd discord.place/client
git pull
pnpm install
pnpm build
pm2 restart discord.place