Skip to content

.github/workflows/npm.yml #464

.github/workflows/npm.yml

.github/workflows/npm.yml #464

Workflow file for this run

on:
push:
branches: ['master']
jobs:
build:
name: Make Website
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20.x
- name: Build docs
working-directory: ./docusaurus
run: npm install; npm run mybuild
- name: Commit and push changes
run: |
git config --global user.name "mlibre"
git config --global user.email "m.gh@linuxmail.org"
git config --global core.autocrlf input
git config --global core.fileMode false
git config core.autocrlf input
git config core.fileMode false
git add .
git commit -m "Build docs"
git push