Skip to content

update

update #5

Workflow file for this run

name: alwaysdata
on:
push:
branches:
- main
- alwaysdata
jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: corepack enable
- uses: actions/setup-node@v3
with:
node-version: 20
cache: pnpm
- run: pnpm install
- run: pnpm build
env:
NITRO_PRESET: alwaysdata
- uses: appleboy/[email protected]
with:
host: ssh-nitro.alwaysdata.net
username: nitro
password: ${{ secrets.ALWAYSDATA_SSH_PASS }}
port: 22
rm: true
source: ".output/server .output/public"
target: app