Skip to content

Commit 2142035

Browse files
committed
docs: Update README examples to use v2.1.0
1 parent f496297 commit 2142035

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ steps:
4040
fetch-depth: 0
4141

4242
# Deploy your application
43-
- uses: 47ng/actions-clever-cloud@v2.0.0
43+
- uses: 47ng/actions-clever-cloud@v2.1.0
4444
env:
4545
CLEVER_TOKEN: ${{ secrets.CLEVER_TOKEN }}
4646
CLEVER_SECRET: ${{ secrets.CLEVER_SECRET }}
@@ -60,7 +60,7 @@ If you have committed the `.clever.json` file, you only need to specify
6060
the alias of the application to deploy:
6161

6262
```yml
63-
- uses: 47ng/actions-clever-cloud@v2.0.0
63+
- uses: 47ng/actions-clever-cloud@v2.1.0
6464
with:
6565
alias: my-app-alias
6666
env:
@@ -72,7 +72,7 @@ If you don't have this `.clever.json` file or you want to explicly
7272
deploy to another application, you can pass its ID:
7373

7474
```yml
75-
- uses: 47ng/actions-clever-cloud@v2.0.0
75+
- uses: 47ng/actions-clever-cloud@v2.1.0
7676
with:
7777
appID: app_facade42-cafe-babe-cafe-deadf00dbaad
7878
env:
@@ -115,7 +115,7 @@ You can set extra environment variables on the deployed application under the
115115
key=value).
116116

117117
```yml
118-
- uses: 47ng/actions-clever-cloud@v2.0.0
118+
- uses: 47ng/actions-clever-cloud@v2.1.0
119119
with:
120120
setEnv: | # <- note the pipe here..
121121
FOO=bar
@@ -155,7 +155,7 @@ you can specify a timeout in seconds after which the workflow will move on,
155155
regardless of the deployment status:
156156

157157
```yml
158-
- uses: 47ng/actions-clever-cloud@v2.0.0
158+
- uses: 47ng/actions-clever-cloud@v2.1.0
159159
with:
160160
timeout: 1800 # wait at maximum 30 minutes before moving on
161161
env:
@@ -170,7 +170,7 @@ regardless of the deployment status:
170170
Clever Cloud uses a Git remote to perform deploys. By default, if the commit you want to deploy is not a fast-forward from the commit currently deployed, the deploy will be rejected. You can pass `force: true` to force the deploy anyway:
171171

172172
```yml
173-
- uses: 47ng/actions-clever-cloud@v2.0.0
173+
- uses: 47ng/actions-clever-cloud@v2.1.0
174174
with:
175175
appID: app_facade42-cafe-babe-cafe-deadf00dbaad
176176
force: true
@@ -191,7 +191,7 @@ When the local and remote commits are identical, you can control what happens us
191191
- `rebuild`: Rebuild and redeploy the application
192192

193193
```yml
194-
- uses: 47ng/actions-clever-cloud@v2.0.0
194+
- uses: 47ng/actions-clever-cloud@v2.1.0
195195
with:
196196
sameCommitPolicy: restart
197197
env:
@@ -206,7 +206,7 @@ When the local and remote commits are identical, you can control what happens us
206206
You can write the deployment logs to a file for archiving:
207207

208208
```yml
209-
- uses: 47ng/actions-clever-cloud@v2.0.0
209+
- uses: 47ng/actions-clever-cloud@v2.1.0
210210
with:
211211
logFile: ./clever-cloud-deploy.log
212212
env:
@@ -225,7 +225,7 @@ If your deployment process is susceptible to log secrets or PII, you can also
225225
disable it from printing onto the console, using the `quiet` option:
226226

227227
```yml
228-
- uses: 47ng/actions-clever-cloud@v2.0.0
228+
- uses: 47ng/actions-clever-cloud@v2.1.0
229229
with:
230230
quiet: true
231231
env:
@@ -247,7 +247,7 @@ This action follows [SemVer](https://semver.org/).
247247

248248
To specify the version of the action to use:
249249

250-
- `uses: 47ng/actions-clever-cloud@v2.0.0`: latest stable version
250+
- `uses: 47ng/actions-clever-cloud@v2.1.0`: latest stable version
251251
- `uses: 47ng/actions-clever-cloud@3e5402496b8d6492401ebb3134acfeccc25c3fce`: pinned to a specific Git SHA-1 (check out the [releases](https://github.com/47ng/actions-clever-cloud/releases))
252252
- `uses: docker://ghcr.io/47ng/actions-clever-cloud:latest`: latest code from master (not recommended, as it may break: hic sunt dracones.)
253253

@@ -291,12 +291,12 @@ Using this action at work ? [Sponsor me](https://github.com/sponsors/franky47) t
291291

292292
```yml
293293
# This will NOT deploy only the build folder:
294-
- uses: 47ng/actions-clever-cloud@v2.0.0
294+
- uses: 47ng/actions-clever-cloud@v2.1.0
295295
with:
296296
working-directory: ./build # ❌ Only changes where the action runs
297297
298298
# This will deploy only the build folder:
299-
- uses: 47ng/actions-clever-cloud@v2.0.0
299+
- uses: 47ng/actions-clever-cloud@v2.1.0
300300
with:
301301
deployPath: ./build # ✅ Only sends these files to Clever Cloud
302302
```

0 commit comments

Comments
 (0)