Skip to content

Commit

Permalink
remove gh history on push
Browse files Browse the repository at this point in the history
  • Loading branch information
billbrod committed Nov 5, 2024
1 parent ddc19d5 commit d21236f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion jenkins/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,10 @@ pipeline {
rm -rf \$DOCS_DIR
mkdir -p \$DOCS_DIR
cp -rp \$HOME/docs/build/html/* \$DOCS_DIR
git add -A \$DOCS_DIR
rm -rf .git
git init
git remote add origin git@github.com:plenoptic-org/plenoptic-workshops.git
git add .
GIT_COMMITTER_EMAIL="jenkins@flatironinstitute.org" GIT_COMMITTER_NAME="Flatiron Jenkins" git commit --author='Flatiron Jenkins <jenkins@flatironinstitute.org>' --allow-empty -m "Generated documentation for \$DOCS_DIR" -m '${env.BUILD_TAG}'
"""
gitPush(gitScm: scm, targetBranch: 'main', targetRepo: 'origin')
Expand Down

0 comments on commit d21236f

Please sign in to comment.