tenkuma-pages #1

Merged
tenkuma merged 3 commits from tenkuma-pages into main 2026-05-13 23:34:09 -03:00
Showing only changes of commit 5b80c113cf - Show all commits

Adicionar .github/workflows/build.yml
Some checks failed
Build Eleventy / build (24.x) (pull_request) Has been cancelled

天クマ 2026-05-13 23:33:06 -03:00

44
.github/workflows/build.yml vendored Normal file
View file

@ -0,0 +1,44 @@
name: Build Eleventy
on:
push:
paths-ignore:
- '/maintenance/**'
- '/README.md'
branches:
- main
workflow_dispatch:
pull_request:
paths-ignore:
- '/maintenance/**'
- '/README.md'
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [24.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies & build
run: |
npm ci
npm run build -- --pathprefix=""
- name: Deploy
uses: peaceiris/actions-gh-pages@v4
with:
publish_dir: ./docs
github_token: ${{ secrets.GITHUB_TOKEN }}