Skip to content

Commit

Permalink
ci(docs): Make branch doc deletion like branch doc creation.
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenj committed Nov 9, 2023
1 parent 8d4eac5 commit 425d89c
Showing 1 changed file with 22 additions and 5 deletions.
27 changes: 22 additions & 5 deletions .github/workflows/branch-delete-cleanup.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,30 @@
name: Branch Deleted

on: delete
on:
delete:
branches:
- "**"
tags-ignore:
- "**"

concurrency:
group: "docs"
cancel-in-progress: false

permissions:
id-token: write
contents: write
packages: write

jobs:
delete:
name: On branch deleted
if: github.event.ref_type == 'branch'
uses: input-output-hk/catalyst-ci/.github/workflows/branch-delete-cleanup.yml@v2.0.6
ci:
uses: input-output-hk/catalyst-ci/.github/workflows/branch-pages-delete.yml@master
with:
aws_role_arn: arn:aws:iam::332405224602:role/ci
aws_region: eu-central-1
ci_cli_version: 1.3.1
earthfile: ./docs
target: docs
secrets:
earthly_runner_address: ${{ secrets.EARTHLY_SATELLITE_ADDRESS }}
earthly_runner_secret: ${{ secrets.EARTHLY_RUNNER_SECRET }}

0 comments on commit 425d89c

Please sign in to comment.