-
-
Notifications
You must be signed in to change notification settings - Fork 1
34 lines (30 loc) · 805 Bytes
/
deploy-delete.yml
File metadata and controls
34 lines (30 loc) · 805 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: deploy delete
on:
pull_request:
types:
- closed
branches:
- main
workflow_dispatch:
concurrency:
group: deploy-delete-${{ github.head_ref || github.run_id }}
permissions: {}
jobs:
deploy-delete:
permissions:
actions: read
contents: read
deployments: write
pull-requests: write
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd #v6.0.2
with:
persist-credentials: false
- id: 'cloudflare-pages'
uses: ./delete
with:
cloudflare-api-token: ${{ secrets.CLOUDFLARE_API_TOKEN }}
github-token: ${{ secrets.GITHUB_TOKEN }}