new deployment
Some checks failed
/ deploy (push) Failing after 0s

This commit is contained in:
Loyyd 2026-06-11 16:31:37 +02:00
parent 6af3cf60f7
commit 2b450f0275

View file

@ -1,13 +1,38 @@
on: on:
push: push:
branches: [main] branches: [main]
workflow_dispatch:
concurrency:
group: deploy-main
cancel-in-progress: true
jobs: jobs:
deploy: deploy:
runs-on: docker runs-on: self-hosted
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 24
cache: npm
- name: Install dependencies
run: npm ci
- name: Build Astro static site
run: |
rm -rf dist
npm run build
- name: Verify static output
run: |
test -f dist/index.html
test -f dist/speeches/index.html
test -f dist/assets/icons/familyfed-favicon.png
- name: Restart Nomad allocation - name: Restart Nomad allocation
env: env:
NOMAD_ADDR: ${{ secrets.NOMAD_ADDR }} NOMAD_ADDR: ${{ secrets.NOMAD_ADDR }}