Skip to content

Commit

Permalink
IW-4970 Remove failing code in auto-deploy script
Browse files Browse the repository at this point in the history
  • Loading branch information
kasperekt committed Jan 5, 2021
1 parent f6a8ee1 commit 570ba29
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Jenkinsfile-auto-deploy
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ node('qa-executors') {
git fetch origin ${githubPagesBranch}
git checkout ${githubPagesBranch}

cp -R /tmp/docs ./docs
cp -R /tmp/docs/* ./docs/
rm -rf /tmp/docs

cp docs/CNAME ./CNAME
Expand All @@ -76,10 +76,6 @@ node('qa-executors') {
git commit -m "Documentation for \$CURRENT_PACKAGE_VERSION\nBased on ${params.pull_num} pull request and ${params.commit} commit"
git push origin ${githubPagesBranch}
fi

git diff --staged --quiet && \
git commit -m "Documentation for \$CURRENT_PACKAGE_VERSION\nBased on ${params.pull_num} pull request and ${params.commit} commit" && \
git push origin ${githubPagesBranch}
"""
}
}
Expand Down

0 comments on commit 570ba29

Please sign in to comment.