You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-12Lines changed: 12 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,7 +40,7 @@ steps:
40
40
fetch-depth: 0
41
41
42
42
# Deploy your application
43
-
- uses: 47ng/actions-clever-cloud@v2.0.0
43
+
- uses: 47ng/actions-clever-cloud@v2.1.0
44
44
env:
45
45
CLEVER_TOKEN: ${{ secrets.CLEVER_TOKEN }}
46
46
CLEVER_SECRET: ${{ secrets.CLEVER_SECRET }}
@@ -60,7 +60,7 @@ If you have committed the `.clever.json` file, you only need to specify
60
60
the alias of the application to deploy:
61
61
62
62
```yml
63
-
- uses: 47ng/actions-clever-cloud@v2.0.0
63
+
- uses: 47ng/actions-clever-cloud@v2.1.0
64
64
with:
65
65
alias: my-app-alias
66
66
env:
@@ -72,7 +72,7 @@ If you don't have this `.clever.json` file or you want to explicly
72
72
deploy to another application, you can pass its ID:
73
73
74
74
```yml
75
-
- uses: 47ng/actions-clever-cloud@v2.0.0
75
+
- uses: 47ng/actions-clever-cloud@v2.1.0
76
76
with:
77
77
appID: app_facade42-cafe-babe-cafe-deadf00dbaad
78
78
env:
@@ -115,7 +115,7 @@ You can set extra environment variables on the deployed application under the
115
115
key=value).
116
116
117
117
```yml
118
-
- uses: 47ng/actions-clever-cloud@v2.0.0
118
+
- uses: 47ng/actions-clever-cloud@v2.1.0
119
119
with:
120
120
setEnv: | # <- note the pipe here..
121
121
FOO=bar
@@ -155,7 +155,7 @@ you can specify a timeout in seconds after which the workflow will move on,
155
155
regardless of the deployment status:
156
156
157
157
```yml
158
-
- uses: 47ng/actions-clever-cloud@v2.0.0
158
+
- uses: 47ng/actions-clever-cloud@v2.1.0
159
159
with:
160
160
timeout: 1800 # wait at maximum 30 minutes before moving on
161
161
env:
@@ -170,7 +170,7 @@ regardless of the deployment status:
170
170
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:
171
171
172
172
```yml
173
-
- uses: 47ng/actions-clever-cloud@v2.0.0
173
+
- uses: 47ng/actions-clever-cloud@v2.1.0
174
174
with:
175
175
appID: app_facade42-cafe-babe-cafe-deadf00dbaad
176
176
force: true
@@ -191,7 +191,7 @@ When the local and remote commits are identical, you can control what happens us
191
191
- `rebuild`: Rebuild and redeploy the application
192
192
193
193
```yml
194
-
- uses: 47ng/actions-clever-cloud@v2.0.0
194
+
- uses: 47ng/actions-clever-cloud@v2.1.0
195
195
with:
196
196
sameCommitPolicy: restart
197
197
env:
@@ -206,7 +206,7 @@ When the local and remote commits are identical, you can control what happens us
206
206
You can write the deployment logs to a file for archiving:
207
207
208
208
```yml
209
-
- uses: 47ng/actions-clever-cloud@v2.0.0
209
+
- uses: 47ng/actions-clever-cloud@v2.1.0
210
210
with:
211
211
logFile: ./clever-cloud-deploy.log
212
212
env:
@@ -225,7 +225,7 @@ If your deployment process is susceptible to log secrets or PII, you can also
225
225
disable it from printing onto the console, using the `quiet` option:
226
226
227
227
```yml
228
-
- uses: 47ng/actions-clever-cloud@v2.0.0
228
+
- uses: 47ng/actions-clever-cloud@v2.1.0
229
229
with:
230
230
quiet: true
231
231
env:
@@ -247,7 +247,7 @@ This action follows [SemVer](https://semver.org/).
247
247
248
248
To specify the version of the action to use:
249
249
250
-
- `uses: 47ng/actions-clever-cloud@v2.0.0`: latest stable version
250
+
- `uses: 47ng/actions-clever-cloud@v2.1.0`: latest stable version
251
251
- `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))
252
252
- `uses: docker://ghcr.io/47ng/actions-clever-cloud:latest`: latest code from master (not recommended, as it may break: hic sunt dracones.)
253
253
@@ -291,12 +291,12 @@ Using this action at work ? [Sponsor me](https://github.com/sponsors/franky47) t
291
291
292
292
```yml
293
293
# 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
295
295
with:
296
296
working-directory: ./build # ❌ Only changes where the action runs
297
297
298
298
# 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
300
300
with:
301
301
deployPath: ./build # ✅ Only sends these files to Clever Cloud
0 commit comments