Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 6 additions & 18 deletions .github/workflows/branch_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ jobs:

- name: Create release
id: create_release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand All @@ -150,20 +150,8 @@ jobs:
./dist/${{ steps.create_package_filename.outputs.packageFilename }}.zip
./dist/manifest.json

- name: Register release with apps registry
id: register_with_apps_registry
uses: fjogeleit/http-request-action@v1
with:
url: "https://apps.deskpro-service.com/register"
method: "POST"
customHeaders: '{"Content-Type": "application/json", "x-api-key": "${{ secrets.APP_REGISTRY_KEY }}"}'
data: '{"repositoryUrl": "${{ github.server_url }}/${{ github.repository }}", "type": "github"}'

- name: Trigger release
id: trigger_release
uses: fjogeleit/http-request-action@v1
with:
url: "https://apps.deskpro-service.com/release"
method: "POST"
customHeaders: '{"Content-Type": "application/json", "x-api-key": "${{ secrets.APP_REGISTRY_KEY }}"}'
data: '{"repositoryUrl": "${{ github.server_url }}/${{ github.repository }}"}'
release:
uses: DeskproApps/app-template-vite/.github/workflows/subworkflow-release.yml@master
secrets: inherit
needs: [deskpro_app_test_and_build]

Loading