Skip to content

publish-on-edge-add-ons #20

publish-on-edge-add-ons

publish-on-edge-add-ons #20

name: publish-on-edge-add-ons
on:
workflow_dispatch:
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cardinalby/export-env-action@v2
with:
envFile: './.github/workflows/constants.env'
expand: true
- name: Obtain packed zip
uses: ./.github/workflows/actions/get-zip-asset
with:
githubToken: ${{ secrets.GITHUB_TOKEN }}
apiURL: ${{ secrets.API_URL }}
pageURL: ${{ secrets.PAGE_URL }}
- name: Deploy to Edge Addons
uses: wdzeng/[email protected]
with:
product-id: ${{ secrets.EDGE_PRODUCT_ID }}
zip-path: ${{ env.ZIP_FILE_PATH }}
client-id: ${{ secrets.EDGE_CLIENT_ID }}
client-secret: ${{ secrets.EDGE_CLIENT_SECRET }}
access-token-url: ${{ secrets.EDGE_ACCESS_TOKEN_URL }}