feat: add cancel comment and remove continuous run

This commit is contained in:
Bart van der Braak 2023-07-31 22:44:38 +02:00
parent eeb5062159
commit c060973dd2

View file

@ -43,9 +43,6 @@ jobs:
- name: Build production
run: pnpm run build
- name: Preview production
run: pnpm run preview --port ${{ env.PORT }}
- name: Start Preview and Get Preview URL
run: |
@ -126,3 +123,11 @@ jobs:
⚡️ Lighthouse report failed
See deployment for any errors
- name: Update comment on cancel
uses: marocchino/sticky-pull-request-comment@v2.7.0
if: ${{ cancelled() }}
with:
header: ${{ env.COMMENT_ID }}
message: |
⚡️ Lighthouse report cancelled