Skip to content

use previous fb action version #23

use previous fb action version

use previous fb action version #23

name: Close PR delete firebase channel
on:
pull_request:
types: [closed]
jobs:
delete_firebase_channel:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- id: get-short-name
run: |
id=$(echo ${{github.event.pull_request.head.ref}} | cut -c 1-20)
echo "id=$id" >> $GITHUB_OUTPUT
- name: Delete Preview Channel on Firebase
uses: w9jds/[email protected]
with:
args: hosting:channel:delete pr${{github.event.number}}-${{steps.get-short-name.outputs.id}} --force
env:
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}
PROJECT_ID: cioos-metadata-form
GITHUB_AUTH: ${{ secrets.ISSUE_CREATOR_PAT }}