Skip to content

Misc. Sheet Changes (some more important than others) #16

Misc. Sheet Changes (some more important than others)

Misc. Sheet Changes (some more important than others) #16

Workflow file for this run

name: Clean PR Deployment
on:
pull_request:
types: [closed]
jobs:
deploy:
if: github.event.pull_request.head.repo.full_name == github.repository
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Checkout external gh-pages
uses: actions/checkout@v3
with:
repository: ${{ vars.PR_REPO }}
ssh-key: ${{ secrets.PR_REPO_SSH_KEY }}
ref: gh-pages
path: gh-pages
- name: Make commit to deploy
run: |
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git rm -r ./${{ github.event.number }}
git commit -m "clean ${{ github.event.number }}"
git push origin gh-pages
working-directory: gh-pages
- name: Output date
id: output-date
run: echo "date=$(date -u)" >> $GITHUB_OUTPUT
- name: Maintain comment
uses: actions-cool/maintain-one-comment@v3
with:
body: |
[${{ steps.output-date.outputs.date }}] - Deleted deployment
body-include: '<!-- Created by actions-cool/maintain-one-comment -->'