File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -67,10 +67,11 @@ jobs:
6767 - git config remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*"
6868 - git fetch origin
6969 - git checkout gh-pages
70- - git checkout $(git rev-list -n1 HEAD -- index.yaml)~1 -- index.yaml
70+ - git checkout $(git rev-list -n1 HEAD -- index.yaml)~1 -- index.yaml > /dev/null 2>&1 | true
7171 - git add index.yaml
72- - git commit -m "Auto-restore Helm chart repo index after Docusaurus publish"
73- - git push
72+ - git diff-index --quiet HEAD || git commit -m "Auto-restore Helm chart repo index after Docusaurus publish"
73+ - git diff-index --quiet HEAD || git remote add origin-pages https://${GH_TOKEN}@github.com/Accenture/reactive-interaction-gateway.git > /dev/null 2>&1
74+ - git diff-index --quiet HEAD || git push --set-upstream origin-pages gh-pages
7475 - stage : sourcedocs
7576 << : *elixir-env
7677 script :
You can’t perform that action at this time.
0 commit comments