diff options
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/docs_upload.yml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/.github/workflows/docs_upload.yml b/.github/workflows/docs_upload.yml index 7bdd186a1..9aadd6647 100644 --- a/.github/workflows/docs_upload.yml +++ b/.github/workflows/docs_upload.yml @@ -100,3 +100,21 @@ jobs: else echo "Ignored run" fi + + - name: Update docs for release + continue-on-error: true + env: + SSH_AUTH_SOCK: /tmp/ssh_agent.sock + run: | + if [ "$ISTAG" ]; then + git clone git@github.com:cvc5/docs-releases.git target-releases/ + mv docs-new target-releases/$NAME + cd target-releases/ + + git add docs-$NAME + + git commit -m "Update docs for $NAME" + git push + else + echo "Ignored run" + fi |