Bump solid-js from 1.8.16 to 1.8.20 #51
Workflow file for this run
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: ClosePullRequestAction | |
on: | |
pull_request_target: | |
types: [closed] | |
branches: [ main ] | |
jobs: | |
close: | |
runs-on: self-hosted | |
steps: | |
- name: close pull request | |
run: | | |
export AWS_STATIC_SITE_URL=${{ vars.AWS_STATIC_SITE_URL }} | |
PR_NUMBER=$(jq -r ".pull_request.number" $GITHUB_EVENT_PATH) | |
echo "Cleaning up after $PR_NUMBER has closed" | |
BUILDDIR="/srv/websitepreview/$AWS_STATIC_SITE_URL-$PR_NUMBER" | |
if [ -d "$BUILDDIR" ]; then | |
echo "Removing website review directory" | |
rm -rf "$BUILDDIR" | |
else | |
echo "No website review directory ($BUILDDIR) to remove" | |
fi |