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
This GitHub action helps to run Clodui CLI commands from your workflow. Learn more about Clodui CLI from the docs https://www.clodui.com/docs/clodui-cli/
4
+
5
+
### Usage
6
+
7
+
Example GitHub workflow file which shows deploying changes to a website.
8
+
9
+
```yaml
10
+
name: "Deploy Website"
11
+
12
+
on: [push]
13
+
14
+
jobs:
15
+
build:
16
+
runs-on: ubuntu-latest
17
+
steps:
18
+
- name: Checkout
19
+
uses: actions/checkout@v2
20
+
- name: Deploy to Clodui
21
+
uses: clodui/actions-cli@v1
22
+
with:
23
+
args: >
24
+
--username ${{ secrets.CLODUI_USERNAME }}
25
+
--password ${{ secrets.CLODUI_PASSWORD }}
26
+
deploy
27
+
create
28
+
--website-id ${{ secrets.WEBSITE_ID }}
29
+
--source-dir ./sample/test-website/
30
+
```
31
+
32
+
**Note :** Clodui CLI argument `source-dir` is set as a relative path to the environment `GITHUB_WORKSPACE`
0 commit comments