Skip to content
This repository has been archived by the owner on Dec 26, 2024. It is now read-only.

build(deps): bump softprops/action-gh-release from 2.0.5 to 2.1.0 #32

build(deps): bump softprops/action-gh-release from 2.0.5 to 2.1.0

build(deps): bump softprops/action-gh-release from 2.0.5 to 2.1.0 #32

Workflow file for this run

name: PR Deploy
on:
pull_request:
types: [closed]
workflow_dispatch:
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
FLY_REGION: iad
FLY_ORG: personal
jobs:
staging_app:
runs-on: ubuntu-latest
# Only run one deployment at a time per PR.
concurrency:
group: pr-${{ github.event.number }}
# Create a GitHub deployment environment per review app so it shows up
# in the pull request UI.
environment:
name: pr-${{ github.event.number }}
url: ${{ steps.deploy.outputs.url }}
steps:
- uses: actions/checkout@v4
- name: Deploy
id: deploy
uses: superfly/fly-pr-review-apps@1.2.1
- name: Clean up GitHub environment
uses: strumwolf/delete-deployment-environment@v3
if: ${{ github.event.action == 'closed' }}
with:
# The provided token needs permission for admin write:org
token: ${{ secrets.GITHUB_TOKEN }}
environment: pr-${{ github.event.number }}