Skip to content

Commit

Permalink
ci: add Cloudflare Pages Deployed
Browse files Browse the repository at this point in the history
  • Loading branch information
SidStraw committed Aug 29, 2022
1 parent 77ff639 commit bc3fffd
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/checkrun-completed.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Cloudflare Pages Deployed

on:
check_run:
types: [completed]

jobs:
build:
name: Test
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Check object
run: |
cat << OBJECT
${{ toJson(github) }}
OBJECT
- name: Get Deployment URL
run: echo "DEPLOYMENT_URL=$(echo "${{ github.event.check_run.output.summary }}" | grep -o "href\=.*>https" | cut -c 7-43)" >> $GITHUB_ENV
- run: echo $DEPLOYMENT_URL

0 comments on commit bc3fffd

Please sign in to comment.