Bump framer-motion from 6.5.1 to 10.12.2 #198
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: Preview Teardown | |
on: | |
pull_request: | |
types: [ closed ] | |
paths-ignore: | |
- '**.md' | |
jobs: | |
teardown: | |
name: Teardown preview on Surge | |
runs-on: ubuntu-latest | |
if: github.repository_owner == 'latticesurgery-com' | |
env: | |
SURGE_DOMAIN: ${{ format('https://{0}-{1}-pr{2}-preview.surge.sh', github.repository_owner, | |
github.event.repository.name, github.event.pull_request.number) }} | |
permissions: | |
pull-requests: write | |
issues: write | |
steps: | |
- name: Setup Node JS | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '16' | |
- name: Install Surge | |
run: npm install --global surge | |
- name: Find deploy comment | |
uses: peter-evans/find-comment@v2 | |
id: fc | |
with: | |
issue-number: ${{ github.event.pull_request.number }} | |
comment-author: 'github-actions[bot]' | |
body-includes: Preview is deployed to | |
- name: Teardown preview on Surge | |
continue-on-error: true | |
run: surge teardown ${{ env.SURGE_DOMAIN }} | |
env: | |
SURGE_LOGIN: ${{ secrets.SURGE_LOGIN }} | |
SURGE_TOKEN: ${{ secrets.SURGE_TOKEN }} | |
- name: Update previous deploy comment | |
if: ${{ steps.fc.outputs.comment-id != 0 }} | |
uses: peter-evans/create-or-update-comment@v2 | |
with: | |
comment-id: ${{ steps.fc.outputs.comment-id }} | |
issue-number: ${{ github.event.pull_request.number }} | |
body: | | |
*Preview is no longer available for this pull request.* | |
edit-mode: replace |