Skip to content

Bump rollup from 4.20.0 to 4.22.4 (#50) #46

Bump rollup from 4.20.0 to 4.22.4 (#50)

Bump rollup from 4.20.0 to 4.22.4 (#50) #46

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