wonderfulfrog.com/.forgejo/workflows/deploy.yml
Devin Haska e7789b3a77
All checks were successful
Build and Deploy / build_and_deploy (push) Successful in 1m53s
feat: add URL env var
2025-04-13 21:02:49 -07:00

24 lines
498 B
YAML

name: Build and Deploy
on: [push]
env:
DARK_VISITORS_ACCESS_TOKEN: "${{ secrets.DARK_VISITORS_ACCESS_TOKEN }}"
URL: "${{ secrets.URL }}"
jobs:
build_and_deploy:
runs-on: docker
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 ci
- name: Build the website
run: npm run build