Skip to content

Commit

Permalink
update: disable automatic cws publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
asieduernest12 committed Dec 29, 2024
1 parent 8de9f78 commit 4a9d44f
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,19 +92,19 @@ jobs:
fi
- name: chrome ext publish
run: |
if [ -z "${{ secrets.CLIENT_ID }}" ] || [ -z "${{ secrets.CLIENT_SECRET }}" ] || [ -z "${{ secrets.REFRESH_TOKEN }}" ] || [ -z "${{ secrets.EXTENSION_ID }}" ]; then
echo "Required secrets are not provided. Exiting."
exit 0
fi
# - name: chrome ext publish
# run: |
# if [ -z "${{ secrets.CLIENT_ID }}" ] || [ -z "${{ secrets.CLIENT_SECRET }}" ] || [ -z "${{ secrets.REFRESH_TOKEN }}" ] || [ -z "${{ secrets.EXTENSION_ID }}" ]; then
# echo "Required secrets are not provided. Exiting."
# exit 0
# fi

npx cws-publish ${{ secrets.CLIENT_ID }} ${{ secrets.CLIENT_SECRET }} ${{ secrets.REFRESH_TOKEN }} ./build/jiffyReader-chrome-prod.zip ${{ secrets.EXTENSION_ID }}
# npx cws-publish ${{ secrets.CLIENT_ID }} ${{ secrets.CLIENT_SECRET }} ${{ secrets.REFRESH_TOKEN }} ./build/jiffyReader-chrome-prod.zip ${{ secrets.EXTENSION_ID }}

# if secrete.DEV_EXTENSION_ID is not empty then publish
if [ -n "${{ secrets.EXTENSION_DEV_ID }}" ]; then
npx cws-publish ${{ secrets.CLIENT_ID }} ${{ secrets.CLIENT_SECRET }} ${{ secrets.REFRESH_TOKEN }} ./build/jiffyReader-chrome-dev.zip ${{ secrets.EXTENSION_DEV_ID }}
fi
# # if secrete.DEV_EXTENSION_ID is not empty then publish
# if [ -n "${{ secrets.EXTENSION_DEV_ID }}" ]; then
# npx cws-publish ${{ secrets.CLIENT_ID }} ${{ secrets.CLIENT_SECRET }} ${{ secrets.REFRESH_TOKEN }} ./build/jiffyReader-chrome-dev.zip ${{ secrets.EXTENSION_DEV_ID }}
# fi



Expand Down

0 comments on commit 4a9d44f

Please # to comment.