Skip to content

SUPINT-2380: nuxeo admin console web scripts works #3

SUPINT-2380: nuxeo admin console web scripts works

SUPINT-2380: nuxeo admin console web scripts works #3

Workflow file for this run

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 }}"