Skip to content

Latest commit

 

History

History
36 lines (33 loc) · 1.31 KB

Update_v1.26.1.md

File metadata and controls

36 lines (33 loc) · 1.31 KB

v1.26.1から更新されない場合の対処法

Upptimeが v1.26.1 に更新( Commit 72a0b89 )してから更新されないことが発生。 原因はバージョンアップにより GH_PAT から GITHUB_TOKEN に変更されたことが原因です。

update-template.ymlの内容を手動で書き換えて、Update Template CIを実行することでアップデートが行えます。

    steps:
      - name: Checkout
        uses: actions/checkout@v2.3.3
        with:
          ref: ${{ github.head_ref }}
          token: ${{ secrets.GITHUB_TOKEN }}
      - name: Update template
        uses: upptime/uptime-monitor@master
        with:
          command: "update-template"
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

から以下のように書き換えます。

    steps:
      - name: Checkout
        uses: actions/checkout@v2.3.3
        with:
          ref: ${{ github.head_ref }}
          token: ${{ secrets.GH_PAT }}
      - name: Update template
        uses: upptime/uptime-monitor@master
        with:
          command: "update-template"
        env:
          GH_PAT: ${{ secrets.GH_PAT }}