Skip to content

Fix a double require bug in the wp-docs-plugin plugin #22

Fix a double require bug in the wp-docs-plugin plugin

Fix a double require bug in the wp-docs-plugin plugin #22

Workflow file for this run

name: Generate Static Site
on:
push:
branches:
- trunk
workflow_dispatch:
jobs:
# Build job
build:
runs-on: ubuntu-latest
permissions:
contents: write # to deploy to Pages
timeout-minutes: 5
env:
REPO: ${{ github.repository }}
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Generate static site
run: PATH_PREFIX=/$(echo ${{ env.REPO }} | cut -d'/' -f2)/ node generate-static-site.js
- name: Deploy
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./out