Skip to content

update name

update name #24

Workflow file for this run

name: Build Eleventy
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-20.04
strategy:
matrix:
node-version: [14.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies & build
run: |
npm ci
npm run build
- name: Deploy
uses: peaceiris/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
#publish_dir is the folder on the docker instance which eleventy builds the pages to.
#it is not the docs folder in the repository
publish_dir: public
#publish_branch is the branch in the repository.
#this is where you need to point GitHub pages
publish_branch: gh-pages