Skip to content

Commit

Permalink
Merge pull request #1246 from ita-social-projects/develop
Browse files Browse the repository at this point in the history
remove path (#1245)
  • Loading branch information
DmyMi authored May 31, 2022
2 parents a2f72a9 + cad35d1 commit 61b6afd
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions cloudbuild-stage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,11 @@ steps:
volumes:
- name: 'gh'
path: /ghcli
env:
- "PATH=$$PATH:/ghcli/bin"
args:
- '-c'
- |
echo "Cloning repo"
git clone --branch $BRANCH_NAME git@github.com:ita-social-projects/OoS-Frontend.git
git clone --branch $BRANCH_NAME https://github.com/ita-social-projects/OoS-Frontend.git
cd OoS-Frontend
CURRENT_VERSION=`git describe --tags $$(git rev-list --tags --max-count=1) 2>/dev/null`
if [[ $$CURRENT_VERSION == '' ]]
Expand All @@ -44,8 +42,8 @@ steps:
else
RELEASE_TAG=$$CURRENT_VERSION
fi
gh auth login --with-token <<< $$TOKEN
gh release create $$RELEASE_TAG --generate-notes --repo "ita-social-projects/OoS-Frontend"
/ghcli/bin/gh auth login --with-token <<< $$TOKEN
/ghcli/bin/gh release create $$RELEASE_TAG --generate-notes --repo "ita-social-projects/OoS-Frontend"
availableSecrets:
secretManager:
- versionName: $_GITHUB_TOKEN
Expand Down

0 comments on commit 61b6afd

Please sign in to comment.