From a56e134ef70d1fd21e3ab571663e764707afa60f Mon Sep 17 00:00:00 2001 From: sannrao <81649076+sannrao@users.noreply.github.com> Date: Fri, 15 Sep 2023 20:43:47 -0700 Subject: [PATCH] Update maven-publish.yml --- .github/workflows/maven-publish.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/maven-publish.yml b/.github/workflows/maven-publish.yml index 9b078ef..1999df4 100644 --- a/.github/workflows/maven-publish.yml +++ b/.github/workflows/maven-publish.yml @@ -33,13 +33,12 @@ jobs: needs: Build-repo runs-on: ubuntu-latest steps: - - name: Test + - name: List files in the repository env: EMPSNRAO_TOKEN : ${{ secrets.EMPSNRAO_TOKEN }} - - run: echo "🎉 The job was automatically triggered by a $EMPSNRAO_TOKEN event" + run: | + echo $EMPSNRAO_TOKEN - name: ServiceNow DevOps Change Automation - env: - EMPSNRAO_TOKEN : ${{ secrets.EMPSNRAO_TOKEN }} # You may pin to the exact commit or the version. # uses: ServiceNow/servicenow-devops-change@41fd6520fa5369e3098596eadec108fc809c37f8 uses: ServiceNow/servicenow-devops-change@v2.0.0 @@ -47,7 +46,7 @@ jobs: # ServiceNow Instance URL instance-url: "https://empsnrao1.service-now.com/" # Devops Integration User Name - devops-integration-token: "$EMPSNRAO_TOKEN" + devops-integration-token: ${{ secrets.EMPSNRAO_TOKEN }} # Orchestration Tool Id tool-id: "6b40e871c31539104395388f050131e1" # Display Name of the Job