Skip to content

Merge pull request #66 from wanadev/dependabot/github_actions/JamesIv… #14

Merge pull request #66 from wanadev/dependabot/github_actions/JamesIv…

Merge pull request #66 from wanadev/dependabot/github_actions/JamesIv… #14

Workflow file for this run

name: "Build and deploy Github pages"
on:
push:
branches:
- master
paths:
- doc/**
- .github/workflows/gh-pages.yml
jobs:
build-and-deploy:
name: "Build and deploy Enlightme documentation"
runs-on: ubuntu-latest
steps:
- name: "Checkout the repository"
uses: actions/checkout@v4
with:
persist-credentials: false
submodules: true
- name: "Set up Node"
uses: actions/setup-node@v4
with:
node-version: 16
- name: "Install Node dependancies"
run: |
npm install
- name: "Build Doc"
run: |
npx enlightme
- name: "Deploy Github Pages"
uses: JamesIves/github-pages-deploy-action@v4.7.1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: doc.generated