]> git.drewedgar.com - website.git/blob - .github/workflows/eleventy_build.yml
Initial commit
[website.git] / .github / workflows / eleventy_build.yml
1 name: Eleventy Build
2 on:
3   push:
4     branches:
5       - main
6
7 jobs:
8   build_deploy:
9     runs-on: ubuntu-latest
10     steps:
11       - uses: actions/checkout@v2
12
13       - name: Setup Node
14         uses: actions/setup-node@v1
15         with:
16           node-version: '22.x'
17
18       - run: npm install
19       - run: npm run build
20
21
22       - name: Deploy
23         uses: peaceiris/actions-gh-pages@v3
24         with:
25           publish_dir: dist
26           publish_branch: gh-pages
27           github_token: ${{ secrets.GITHUB_TOKEN }}