Rolling back
Releases are never overwritten. Rolling back points the site at an earlier one — its files are already uploaded, so it is live immediately, with nothing to rebuild.
How many recent releases are kept depends on your plan. A release given a tag
with --tag is kept regardless, which is worth doing for a version you may
want to return to.
Undo the last deploy
Section titled “Undo the last deploy”one9x pages deploy --site mydocs --to ""An empty --to means the release before the one that is live. It is the
command to reach for when a deploy has just gone wrong.
Go back to a specific release
Section titled “Go back to a specific release”List them first:
one9x pages releases list --site mydocsSEQ VERSION TAG WHEN STATUSv14 sha256:5c1904ab 2m ago livev13 sha256:9f2a1b3c 1h agov12 sha256:41de88a0 3h agoThen point the site at the one you want:
one9x pages deploy --site mydocs --to v12Rolling forward
Section titled “Rolling forward”The release you rolled away from is still there, at its own preview URL. Fix the problem and push, or point back at it with the same command.
Deployed on One9x Pages