Skip to content

Add workshops page to published docs #2

Add workshops page to published docs

Add workshops page to published docs #2

Workflow file for this run

# Workflow to clean up PR previews
# Based on https://github.com/daiyi/gh-pages-pr-previews
name: delete preview on PR close
# only trigger on pull request closed events
on:
pull_request:
types: [closed]
jobs:
delete_preview:
runs-on: ubuntu-20.04
env:
PR_PATH: pull/${{github.event.number}}
steps:
- name: make empty dir
run: mkdir public
- name: delete folder
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
destination_dir: ${{ env.PR_PATH }}
- name: Comment on PR
uses: hasura/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
repository: ${{ github.repository }}
number: ${{ github.event.number }}
id: deploy-preview
message: "🪓 PR closed, deleted preview content from gh-pages"