Skip to content

wordpress

wordpress #77

Workflow file for this run

name: Publish GitHub pages
on:
push:
branches:
- main
repository_dispatch:
types:
- release
- wordpress
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16'
cache: 'npm'
- run: npm install
- run: npm run build
- uses: s0/git-publish-subdir-action@develop
env:
REPO: self
BRANCH: public
FOLDER: build
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}