Skip to content

Commit

Permalink
#1435 fixed deployment to gh-pages + removed debug logs
Browse files Browse the repository at this point in the history
  • Loading branch information
maybeec committed Dec 9, 2021
1 parent 13cbc8d commit d86bd67
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ on:
required: true
env:
BUILD_USER: ${{ secrets.BUILD_USER }}
BUILD_USER_PASSWD: ${{ secrets.BUILD_USER_PASSWD }}
BUILD_USER_EMAIL: ${{ secrets.BUILD_USER_EMAIL }}
jobs:
release:
Expand Down
12 changes: 0 additions & 12 deletions deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,18 +32,6 @@ else
echo " ! Not detected cloned gh-pages branch in ../gh-pages folder."
ORIGIN="$(git config --get remote.origin.url)"
SED_OUT=$(echo $ORIGIN | sed -r -E -n 's@^https:\/\/(github.com.*)@\1@p')
if [ -n "$BUILD_USER" ]
then
echo "BUILD_USER SET"
fi
if [ -n "$BUILD_USER_PASSWD" ]
then
echo "BUILD_USER_PASSWD SET"
fi
if [ -n "$BUILD_USER" ] && [ -n "$BUILD_USER_PASSWD" ]
then
echo "BUILD_USER AND BUILD_USER_PASSWD SET"
fi
if [ -n "$SED_OUT" ] && [ -n "$BUILD_USER" ] && [ -n "$BUILD_USER_PASSWD" ]
then
ORIGIN="https://${BUILD_USER}:${BUILD_USER_PASSWD}@$SED_OUT"
Expand Down

0 comments on commit d86bd67

Please sign in to comment.