Skip to content

Eleventy_garance

Eleventy_garance #81

Workflow file for this run

name: Eleventy_garance
on: workflow_dispatch
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v3
with:
repository: ArchivesNationalesFR/Referentiels
path: Referentiels
ref: version_2
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: "18"
- name: Install dependencies & build
run: |
npm ci
- name: Persist npm cache
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package.json') }}
- name: Persist Eleventy .cache
uses: actions/cache@v3
with:
path: ./.cache
key: ${{ runner.os }}-eleventy-fetch-cache
- run: npm run read Referentiels
- run: npm run frame
#- run: npm run build
- name: Build
run: |
export NODE_OPTIONS=--max-old-space-size=4096
npm run build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
publish_dir: dist
github_token: ${{ secrets.GITHUB_TOKEN }}