diff --git a/generators/gh-maven-build/templates/deploy.yaml b/generators/gh-maven-build/templates/deploy.yaml index 3cce662..468c1ba 100644 --- a/generators/gh-maven-build/templates/deploy.yaml +++ b/generators/gh-maven-build/templates/deploy.yaml @@ -175,7 +175,6 @@ jobs: curl \ --data-urlencode "token=${{ secrets.JENKINS_TOKEN }}" \ --data-urlencode "githubToken=${{ secrets.GITHUB_TOKEN }}" \ - --data-urlencode "artifactName=${ARTIFACT_NAME}" \ --data-urlencode "artifactSha256=${ARTIFACT_SHA256}" \ --data-urlencode "projectVersion=${PROJECT_VERSION}" \ --data-urlencode "gitBranch=${{ github.ref_name }}" \ @@ -191,7 +190,6 @@ jobs: curl \ --data-urlencode "token=${{ secrets.JENKINS_TOKEN }}" \ --data-urlencode "githubToken=${{ secrets.GITHUB_TOKEN }}" \ - --data-urlencode "artifactName=${ARTIFACT_NAME}" \ --data-urlencode "artifactSha256=${ARTIFACT_SHA256}" \ --data-urlencode "projectVersion=${PROJECT_VERSION}" \ --data-urlencode "gitBranch=${{ github.ref_name }}" \ @@ -207,7 +205,6 @@ jobs: PROJECT_VERSION: ${{ needs.deploy-build.outputs.project_version || needs.deploy-tag.outputs.project_version }} BUILD_GUID: ${{ needs.deploy-build.outputs.build_guid || needs.deploy-tag.outputs.build_guid }} BUILD_NUMBER: ${{ needs.deploy-build.outputs.build_number || needs.deploy-tag.outputs.build_number }} - ARTIFACT_NAME: ${{ needs.deploy-build.outputs.artifact_name || needs.deploy-tag.outputs.artifact_name }} ARTIFACT_SHA256: ${{ needs.deploy-build.outputs.artifact_sha256 || needs.deploy-tag.outputs.artifact_sha256 }} DOWNLOAD_URL: ${{ needs.deploy-build.outputs.download_url || needs.deploy-tag.outputs.download_url }} # The automatically generated GitHub token will expire when the workflow ends. We need to wait so the job has time to clone the repo.