mirror of
https://github.com/peaceiris/actions-gh-pages.git
synced 2026-09-23 21:28:39 +00:00
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
15 lines
387 B
YAML
15 lines
387 B
YAML
name: Check Pages Status
|
|
|
|
on: page_build
|
|
|
|
jobs:
|
|
pages-status-check:
|
|
runs-on: ubuntu-24.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
|