From 25cca099cc72a20fceb4b64331b4ad40f8fe73b3 Mon Sep 17 00:00:00 2001 From: Cameron MacDonald <12107773+cadomac@users.noreply.github.com> Date: Wed, 30 Aug 2023 19:42:57 -0500 Subject: [PATCH] try something else --- .github/workflows/update-chrome-ext.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/update-chrome-ext.yml b/.github/workflows/update-chrome-ext.yml index 6ae7551..2f91b74 100644 --- a/.github/workflows/update-chrome-ext.yml +++ b/.github/workflows/update-chrome-ext.yml @@ -4,7 +4,7 @@ on: branches: - master env: - SHA: ${{ github.event.pull_request.head.sha }} + SHA: ${{ github.sha }} jobs: build-chrome-extension: name: Build Chrome extension artifact @@ -27,7 +27,7 @@ jobs: uses: actions/upload-artifact@v2 with: name: chrome-extension-${{ github.sha }} - path: chrome-extension-${{ github.event.pull_request.head.sha }}.zip + path: chrome-extension-${{ github.sha }}.zip # api usage reference: # * # * @@ -60,5 +60,5 @@ jobs: - name: Upload step run: |- - chrome-webstore-upload upload --source chrome-extension-${{ github.event.pull_request.head.sha }}.zip --extension-id ${{ env.EXTENSION_ID }} --client-id ${{ secrets.CI_GOOGLE_CLIENT_ID }} --client-secret ${{ secrets.CI_GOOGLE_CLIENT_SECRET }} --refresh-token ${{ secrets.CI_GOOGLE_REFRESH_TOKEN }} + chrome-webstore-upload upload --source chrome-extension-${{ github.sha }}.zip --extension-id ${{ secrets.EXTENSION_ID }} --client-id ${{ secrets.CI_GOOGLE_CLIENT_ID }} --client-secret ${{ secrets.CI_GOOGLE_CLIENT_SECRET }} --refresh-token ${{ secrets.CI_GOOGLE_REFRESH_TOKEN }} --auto-publish \ No newline at end of file