Skip to content

Commit

Permalink
ci: Add deployment status check workflow (#125)
Browse files Browse the repository at this point in the history
  • Loading branch information
peaceiris authored Feb 24, 2020
1 parent 79cc24d commit b81e21a
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/pages-status-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Check Pages Status

on: page_build

jobs:
pages-status-check:
runs-on: ubuntu-18.04
steps:
- name: check status
run: |
status = '${{ github.event.build.status }}'
errormsg = '${{ github.event.build.error.message }}'
assert status == 'built', 'Status: {status}\nError: {errormsg}'.format(status, errormsg)
shell: python

0 comments on commit b81e21a

Please sign in to comment.