mirror of
https://github.com/peaceiris/actions-gh-pages.git
synced 2026-09-23 13:18:40 +00:00
17 lines
429 B
YAML
17 lines
429 B
YAML
name: Check Pages Status
|
|
|
|
on: page_build
|
|
|
|
jobs:
|
|
pages-status-check:
|
|
runs-on: ubuntu-slim
|
|
timeout-minutes: 5
|
|
permissions: {}
|
|
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
|