-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
70d8da8
commit 4fc07d4
Showing
5 changed files
with
37 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -78,4 +78,4 @@ jobs: | |
working-directory: nuxeo-admin-console-package/target | ||
env: | ||
CONNECT_PREPROD_URL: https://nos-preprod-connect.nuxeocloud.com/nuxeo | ||
run: curl -i -u "${{ secrets.CONNECT_PREPROD_AUTH }}" -F [email protected].1-SNAPSHOT.zip "$CONNECT_PREPROD_URL/site/marketplace/upload?batch=true" | ||
run: curl -i -u "${{ secrets.CONNECT_PREPROD_AUTH }}" -F [email protected].0-SNAPSHOT.zip "$CONNECT_PREPROD_URL/site/marketplace/upload?batch=true" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Delete PreProd | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
version: | ||
description: 'Version to be used' | ||
required: true | ||
pull_request: | ||
types: [opened, synchronize] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Use input version | ||
if: github.event_name == 'workflow_dispatch' | ||
run: | | ||
echo "Version: ${{ github.event.inputs.version }}" | ||
- name: PR Version Placeholder | ||
if: github.event_name == 'pull_request' | ||
run: echo "This is a PR. You can set up version handling for PRs here." | ||
|
||
- name: Delete test promoted Admin Console to Connect PREPROD | ||
if: github.event_name == 'workflow_dispatch' | ||
env: | ||
CONNECT_PREPROD_URL: https://nos-preprod-connect.nuxeocloud.com/nuxeo | ||
run: curl -i -u "${{ secrets.CONNECT_PREPROD_AUTH }}" -X DELETE "$CONNECT_PREPROD_URL/site/marketplace/delete/nuxeo-admin-console-ui-package-${{ github.event.inputs.version }}" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters