lewisdale.dev/.gitea/workflows/build-and-copy.yaml
Lewis Dale 4dd43fcf53
All checks were successful
Build and copy to prod / build-and-copy (push) Successful in 1m42s
Build on push / build-webhook (push) Successful in 35s
We use npm, not yarn in this house
2024-03-07 13:51:48 +00:00

23 lines
496 B
YAML

name: Build and copy to prod
on:
push:
jobs:
build-and-copy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 20.x
- name: Install dependencies 📦
run: npm ci
- name: Build eleventy
run: npm run build
env:
NODE_ENV: production
OMNIVORE_API_KEY: ${{ secrets.OMNIVORE_API_KEY }}