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