Skip to content

it's already possible to edit already established projects due to spe… #19

it's already possible to edit already established projects due to spe…

it's already possible to edit already established projects due to spe… #19

Workflow file for this run

name: Generate Documentation
on:
workflow_dispatch:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ["21.7.x"]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install Dependencies
run: npm install
- name: Generate Documentation
run: npm run docs
- name: Commit files
run: |
echo ${{ github.ref }}
git add docs/
git config --local user.email "[email protected]"
git config --local user.name "github-actions[bot]"
git commit -m "CI: Automated documentation push" -a | exit 0
- name: Push changes
if: github.ref == 'refs/heads/master'
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}