Skip to content

Commit 79f8341

Browse files
committed
README.md: Made it explicit that you don't need to use this workflow directly.
1 parent 60811d4 commit 79f8341

File tree

1 file changed

+3
-13
lines changed

1 file changed

+3
-13
lines changed

README.md

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -49,18 +49,10 @@ deploy:
4949
5050
### `undeploy-*`
5151

52-
For given `spack` environments, we can also remove deployments. For example:
53-
54-
```yml
55-
remove-prereleases:
56-
uses: access-nri/build-cd/.github/workflows/undeploy-2-setup.yml@main
57-
with:
58-
version-pattern: ${{ inputs.model }}-*
59-
secrets: inherit
60-
```
61-
62-
This will remove every `spack` environment from the deployment target that matches `<model>-*`.
52+
For given `spack` environments, we can also remove deployments.
6353

54+
> [!NOTE]
55+
> This workflow is not one that should be used directly. It is used within the automated deployment pipeline to remove prerelease builds of models.
6456

6557
#### Inputs
6658

@@ -82,8 +74,6 @@ Using the GitHub Environment, it `ssh`s into the deployment environments `spack`
8274

8375
#### Usage
8476

85-
For given `spack` environments, we can also remove deployments. For example:
86-
8777
```yml
8878
remove-prereleases:
8979
uses: access-nri/build-cd/.github/workflows/undeploy-2-setup.yml@main

0 commit comments

Comments
 (0)