2023 spend data up to September #36
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Eleventy | |
on: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- '**.py' | |
- 'requirements.txt' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js current | |
uses: actions/setup-node@v3 | |
with: | |
node-version: current | |
- 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: _site | |
#publish_branch is the branch in the repository. | |
#this is where you need to point GitHub pages | |
publish_branch: gh-pages |