ci : Add github action workflow to generate documentation preview #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Documentation Preview Cleanup Request | |
on: | |
pull_request: | |
types: | |
- closed | |
jobs: | |
on-close: | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Save the GH context in an artifact | |
env: | |
GH_CONTEXT: ${{ toJSON(github) }} | |
run: echo $GH_CONTEXT > github_context.json | |
- name: Upload the GH context artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: github-context | |
path: github_context.json | |