Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
  • Loading branch information
varunsridharan committed Aug 24, 2019
1 parent 4825335 commit a7f3070
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ if [[ -z "$IGNORE_FILE" ]]; then
IGNORE_FILE=".wporgignore"
fi

ls -la

echo '----------------'
# Echo Plugin Slug
echo "ℹ︎ SLUG is $SLUG"
Expand All @@ -61,14 +59,12 @@ SVN_DIR="/github/svn-${SLUG}"
echo "➤ Checking out .org repository..."
svn checkout --depth immediates "$SVN_URL" "$SVN_DIR"
cd "$SVN_DIR"
ls -la
svn update --set-depth infinity assets
svn update --set-depth infinity trunk


echo "➤ Copying files..."
cd "$GITHUB_WORKSPACE"
ls -la

# "Export" a cleaned copy to a temp directory
TMP_DIR="/github/archivetmp"
Expand Down Expand Up @@ -117,13 +113,4 @@ svn status
echo "➤ Committing files..."
svn commit -m "Update to version $VERSION from GitHub" --no-auth-cache --non-interactive --username "$WORDPRESS_USERNAME" --password "$WORDPRESS_PASSWORD"

echo "✓ Plugin deployed!"

# Add File To Commit
#git add -A

# Add Commit Message
#git commit -m "WordPress POT File Created/Update"

# Push To Github
#git push "https://x-access-token:[email protected]/$GITHUB_REPOSITORY" HEAD:$BRANCH
echo "✓ Plugin deployed!"

0 comments on commit a7f3070

Please sign in to comment.