Skip to content

Update eleventy build workflow #1

Update eleventy build workflow

Update eleventy build workflow #1

name: Eleventy Build
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Setup Node
uses: actions/[email protected]
with:
node-version: '18.x'
- run: npm ci
- run: npm run build
- name: Deploy
uses: peaceiris/[email protected]
with:
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
publish_dir: ./docs