Skip to content

Bump cross-spawn from 7.0.3 to 7.0.6 (#64) #60

Bump cross-spawn from 7.0.3 to 7.0.6 (#64)

Bump cross-spawn from 7.0.3 to 7.0.6 (#64) #60

Workflow file for this run

name: Deploy
# Deploys the website whenever changes are merged to main
on:
push:
branches: [main]
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
- name: Install dependencies
run: npm install
- name: Build
run: npm run build
- name: Deploy
uses: appleboy/scp-action@master
with:
host: ${{ secrets.WEBSITE_DOMAIN }}
username: ${{ secrets.SSH_USER }}
password: ${{ secrets.SSH_PASSWORD }}
source: "dist/*"
strip_components: 1
target: ${{ secrets.SSH_PATH }}
rm: true