Welcome to mirror list, hosted at ThFree Co, Russian Federation.

pages-status-check.yml « workflows « .github - github.com/peaceiris/hugo-theme-iris.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f562db7667a1df67d5058ccb5711a52bbdeb63e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
name: Check Pages Status

on: page_build

jobs:
  pages-status-check:
    runs-on: ubuntu-18.04
    timeout-minutes: 1
    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