diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f71579a..1138c88 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,4 +1,4 @@ -name: Publish +name: Publish extension on: push: @@ -10,10 +10,17 @@ jobs: runs-on: ubuntu-latest steps: - - uses: trmcnvn/chrome-addon@v2 + - name: Checkout the repository + uses: actions/checkout@v2 + + - name: Create archive + run: zip -r latest.zip * -x ".*" + + - name: Publish to Chrome Web Store + uses: trmcnvn/chrome-addon@v2 with: extension: plfjbbakjphlkdpcdpodaedhicoaloph - zip: dist/latest.zip + zip: latest.zip client-id: ${{ secrets.CHROME_CLIENT_ID }} client-secret: ${{ secrets.CHROME_CLIENT_SECRET }} refresh-token: ${{ secrets.CHROME_REFRESH_TOKEN }} diff --git a/dist/latest.zip b/dist/latest.zip deleted file mode 100644 index 21b353e..0000000 Binary files a/dist/latest.zip and /dev/null differ