GitHub Action
Clodui Actions
v2.0
Latest version
GitHub action for deploying changes to your Clodui website. Learn more about Clodui https://www.clodui.com/
Example GitHub workflow file which shows deploying changes to a website.
name: "Deploy Website"
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Deploy to Clodui
uses: clodui/actions-cli@v2.0
with:
username: ${{ secrets.CLODUI_USERNAME }}
password: ${{ secrets.CLODUI_PASSWORD }}
website-id: ${{ secrets.WEBSITE_ID }}
source-dir: ./sample/test-website/
publish: publish
username
: Clodui username; best practice is to read it from secretspassword
: Clodui password; best practice is to read it from secretswebsite-id
: Id of your Clodui websitesource-dir
: Path to the directory from files to be uploaded. Please make sure it is set as a relative path to your workspace (GITHUB_WORKSPACE
)publish
: Option for controlling automatic publishing. Valid values arepublish
orno-publish