Skip to content

Commit

Permalink
For #465: split dokku repository reset
Browse files Browse the repository at this point in the history
  • Loading branch information
paulodamaso committed Apr 26, 2020
1 parent 434aa05 commit 09071da
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .rultor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,14 @@ release:
git commit -am "${tag}"
mvn clean deploy -Pjpeek -Psonar -Pqulice -Psonatype --errors --settings ../settings.xml
cp ../settings.xml settings.xml
mvn clean package -Pqulice -Pjpeek --errors --batch-mode
mvn clean package -Pqulice --errors --batch-mode
rm -rf ~/.ssh
mkdir ~/.ssh
mv ../id_rsa ../id_rsa.pub ~/.ssh
chmod 600 ~/.ssh/*
echo -e "Host *\n StrictHostKeyChecking no\n UserKnownHostsFile=/dev/null" > ~/.ssh/config
git remote add dokku dokku@dokku.jpeek.org:jpeek
git add settings.xml
git commit -m 'settings.xml' && git push -f dokku $(git symbolic-ref --short HEAD):master && git reset HEAD~1
git commit -m 'settings.xml' && git push -f dokku $(git symbolic-ref --short HEAD):master
git reset HEAD~1
curl -f --connect-timeout 15 --retry 5 --insecure --retry-delay 30 https://i.jpeek.org > /dev/null

0 comments on commit 09071da

Please # to comment.