name: Build and deploy website on: push: branches: - master pull_request: branches: - master jobs: build: runs-on: ubuntu-latest steps: - name: Check out repository code uses: actions/checkout@v4 - name: Setup pnpm run: npm install -g pnpm - name: Install dependencies run: pnpm install - name: Build run: pnpm build - name: Deploy run: | mv dist/* /var/www/martials.no