Skip to content

Merge pull request #66 from Kuadrant/simpler-build #64

Merge pull request #66 from Kuadrant/simpler-build

Merge pull request #66 from Kuadrant/simpler-build #64

name: Eleventy Build
on:
push:
branches: [main]
jobs:
build_deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '18'
cache: 'npm'
- name: Install Dependencies
run: npm install
- name: Build
run: npx @11ty/eleventy --input src --output _site
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
publish_dir: _site
publish_branch: gh-pages
github_token: ${{ secrets.GITHUB_TOKEN }}
cname: kuadrant.io