21 lines
315 B
YAML
21 lines
315 B
YAML
name: Build and deploy website
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- run: npm install -g pnpm
|
|
- run: pnpm install
|
|
- run: pnpm run build
|
|
- run: |
|
|
mv dist/* /var/www/martial.no
|