Skip to content

ci: deploy to staging with action #7

ci: deploy to staging with action

ci: deploy to staging with action #7

name: Build and deploy staging
on: push
jobs:
build:
name: Build static Nuxt.js page and deploy to staging server via FTP
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up node with volta
uses: volta-cli/action@v4
- name: Install dependencies
run: npm ci
- name: Build static Nuxt.js site
run: npx nuxi generate
- name: Deploy via SFTP
uses: wlixcc/[email protected]
with:
local_path: .output/public/*
remote_path: .
server: ngcobalt395.manitu.net
port: 23
username: ftp200026136
password: ${{ secrets.FTP_PASSWORD }}
sftp_only: true