From 92f3bb16e47892d5a97ccff731caca80dfdf3ee6 Mon Sep 17 00:00:00 2001 From: Lazaros Toumanidis Date: Wed, 23 Oct 2024 13:31:52 +0300 Subject: [PATCH] update gh actions --- .github/workflows/publish.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 6d395310..c5e5075d 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -4,13 +4,13 @@ name: Publish to NPM # yamllint disable rule:truthy on: release: - types: [created] -permissions: - contents: write - id-token: write + types: [published] jobs: build: runs-on: ubuntu-latest + permissions: + contents: write + id-token: write steps: - name: Checkout uses: actions/checkout@v4