You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by pc...@apache.org on 2023/02/10 08:47:56 UTC

[camel-k] branch main updated: fix(ci): env in proper place

This is an automated email from the ASF dual-hosted git repository.

pcongiusti pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git


The following commit(s) were added to refs/heads/main by this push:
     new a1f766879 fix(ci): env in proper place
a1f766879 is described below

commit a1f76687903d8eac8bc5b71d6e00ca6173601aeb
Author: Pasquale Congiusti <pa...@gmail.com>
AuthorDate: Fri Feb 10 09:47:17 2023 +0100

    fix(ci): env in proper place
    
    Ref #4035
---
 .github/actions/release-nightly/action.yml | 3 ---
 .github/workflows/release.yml              | 3 +++
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/.github/actions/release-nightly/action.yml b/.github/actions/release-nightly/action.yml
index 3c7694fbb..83678220c 100644
--- a/.github/actions/release-nightly/action.yml
+++ b/.github/actions/release-nightly/action.yml
@@ -38,9 +38,6 @@ inputs:
 runs:
   using: "composite"
 
-  env:
-      NEXUS_DEPLOY_USERNAME: ${{ secrets.NEXUS_USER }}
-      NEXUS_DEPLOY_PASSWORD: ${{ secrets.NEXUS_PW }}
   steps:
     - name: Set up JDK ${{ inputs.javaVersion }}
       uses: actions/setup-java@v2
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 9f9f328b6..9d6cee149 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -20,10 +20,13 @@ name: release
 env:
   TEST_CLUSTER: kind
   GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+  NEXUS_DEPLOY_USERNAME: ${{ secrets.NEXUS_USER }}
+  NEXUS_DEPLOY_PASSWORD: ${{ secrets.NEXUS_PW }}
 
 on:
   schedule:
     - cron: "10 23 * * *"
+  workflow_dispatch:
 
 jobs:
   main: