Skip to content

Merge pull request #64 from Kuadrant/ehearne-intern-blog #65

Merge pull request #64 from Kuadrant/ehearne-intern-blog

Merge pull request #64 from Kuadrant/ehearne-intern-blog #65

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