File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change 9
9
GitHub action to deploy your application to
10
10
[ Clever Cloud] ( https://clever-cloud.com ) .
11
11
12
+ ## Prerequisite
13
+
14
+ ⚠️ When creating an application on Clever Cloud, you have to choose
15
+ between deploying "* from a local repository* " (using Clever CLI, Git
16
+ or SFTP) or "* from a Github repository* " (using a webhook setup
17
+ automatically by Clever Cloud). Only the first type of applications
18
+ can be deployed using this Github action.
19
+
20
+ In your project's ` .clever.json ` , if the ` deploy_url ` value starts
21
+ with ` https://github.com/ ` , your application is meant to be deployed
22
+ "* from a Github repository* " only.
23
+ If you try deploying it with this Github action, you will get the
24
+ following message in your logs: `[ ERROR] HTTP Error: 401 Authorization
25
+ Required`.
26
+
27
+ Currently (early 2023), the only workaround is to create a new
28
+ application on Clever Cloud, that deploys "* from a local repository* ",
29
+ then remove the Clever Cloud webhook that has been created on your
30
+ Github repository.
31
+
12
32
## Usage
13
33
14
34
In your workflow file:
You can’t perform that action at this time.
0 commit comments