mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2026-09-09 18:02:54 +00:00
Revert "[ACA-4649] fix token propagation"
This reverts commit d939caa5d9.
This commit is contained in:
@@ -2,6 +2,10 @@ name: "Publish GitHub Tag"
|
||||
description: "Publish GitHub Tag"
|
||||
|
||||
inputs:
|
||||
github_token:
|
||||
description: 'Github token'
|
||||
required: true
|
||||
type: string
|
||||
branch_name:
|
||||
description: 'Name of the branch the workflow runs on'
|
||||
required: true
|
||||
@@ -27,7 +31,7 @@ runs:
|
||||
if [[ "${{ inputs.dry-run }}" != "true" ]]; then
|
||||
git tag -a ${VERSION} -m "${VERSION} [ci skip] "
|
||||
git remote rm origin
|
||||
GITHUB_REPO=https://${{ secrets.GITHUB_TOKEN }}:x-oauth-basic@github.com/Alfresco/alfresco-content-app.git
|
||||
GITHUB_REPO=https://${{ inputs.github_token }}:x-oauth-basic@github.com/Alfresco/alfresco-content-app.git
|
||||
git remote add origin $GITHUB_REPO
|
||||
git push origin --tags
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user