Skip to content

chore: prepare release #36

chore: prepare release

chore: prepare release #36

Workflow file for this run

name: Delete PR folder in gh-pages
on:
pull_request:
types: [closed]
permissions:
contents: write
pull-requests: write
statuses: write
checks: write
pages: write
jobs:
clean:
runs-on: ubuntu-latest
steps:
- name: Checkout demo branch
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #v4.2.2
with:
path: demo
ref: gh-pages
- name: Delete PR folder
run: |
rm -rf ./demo/${{ github.event.number }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Commit demo for gh-pages
uses: actions-js/push@5a7cbd780d82c0c937b5977586e641b2fd94acc5 #v1.5
with:
directory: "./demo"
github_token: ${{ secrets.GITHUB_TOKEN }}
message: "doc: cleanup demo"
branch: gh-pages