Skip to content

fix(subsonic): store credentials in the login Keychain, not data-prot… #65

fix(subsonic): store credentials in the login Keychain, not data-prot…

fix(subsonic): store credentials in the login Keychain, not data-prot… #65

Workflow file for this run

name: Website
on:
push:
branches: [main]
paths:
- "website/**"
- "CHANGELOG.md"
- ".github/workflows/website.yml"
workflow_run:
workflows: ["Release"]
types: [completed]
branches: [main]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: true
jobs:
build:
name: Build site
if: >
github.event_name != 'workflow_run' ||
github.event.workflow_run.conclusion == 'success'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Setup Node
uses: actions/setup-node@v6
with:
node-version: "22"
cache: "npm"
cache-dependency-path: website/package-lock.json
- name: Install dependencies
working-directory: website
run: npm ci
- name: Build with Eleventy
working-directory: website
run: npm run build
- name: Configure Pages
uses: actions/configure-pages@v6
- name: Upload artifact
uses: actions/upload-pages-artifact@v5
with:
path: website/_site
deploy:
name: Deploy to GitHub Pages
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy
id: deployment
uses: actions/deploy-pages@v5