Skip to content

Commit 8189b5e

Browse files
readme: update deploy instructions (#583)
1 parent 4d074b4 commit 8189b5e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,13 +167,15 @@ $ make html linkcheck doctest SPHINXOPTS='-W'
167167
* Create a tag with a name matching a released cylc-flow tag.
168168
`git tag <tag> <commit>` e.g. `git tag 8.1.2 HEAD`.
169169
* Push it to `cylc/cylc-doc`.
170-
`git push --tags upstream <tag>`
170+
`git push upstream refs/tags/<tag>`
171171
* Trigger the `deploy` workflow against that tag.
172172

173173
**To update documentation for an existing version (post release):**
174174

175175
* Update the existing tag.
176+
`git tag -d <tag>; git tag <tag> <commit>`
176177
* Push it to `cylc/cylc-doc`.
178+
`git push upstream refs/tags/<tag> -f`
177179
* Trigger the `deploy` workflow against that tag.
178180

179181
**To remove old documentation:**

0 commit comments

Comments
 (0)