Skip to content

Commit

Permalink
운영 반영 (#447)
Browse files Browse the repository at this point in the history
* Update build-and-deploy.yml

* Update build-and-deploy.yml

* Update build-and-deploy.yml

* Update deploy.sh
  • Loading branch information
kimorkim authored Jul 25, 2024
1 parent a06b0de commit e9be01d
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions scripts/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,12 @@ cd build
git config user.name "Entry Dev"
git config user.email "[email protected]"

git checkout -b "$deployName"
# git push --delete "https://${GH_TOKEN}@${GH_REF}" "$deployName"
if [ "$branchName" = "master" ]
then
git checkout -b build
else
git checkout -b "$deployName"
fi

git add .
git commit -m "Entry Tool deploy $deployName"
# git push --force --quiet "https://${GH_TOKEN}@${GH_REF}" "$deployName"

#curl -d '{"tag_name": "v$DATEFMT","target_commitish": "build","name": "v$DATEFMT","body": "Description of the release","draft": false,"prerelease": false}' -X POST "https://developer.github.com/v3/repos/kimokim/entryjs/releases"

0 comments on commit e9be01d

Please sign in to comment.