This action deploys your application to Discloud
Property | Description | Required | Default |
---|---|---|---|
token | Your account Discloud token | ☑️ | |
app_id | Your app ID in Discloud * | ||
glob | Use the glob pattern to specify files to upload ** |
** |
|
team | Specify if the app is a team app. Ignore if the app is yours |
false |
*
app_id
can be ignored if thediscloud.config
file with theID
property exists in your repository
**glob
can be a list of glob patterns, see example
name: Discloud Deploy Action
on:
# push: # On any commit
release:
types: [created] # On release created
workflow_dispatch: # Manual running
permissions:
contents: read
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4 # Required to use the file system
- uses: discloud/deploy-action@v1
with:
token: ${{ secrets.DISCLOUD_TOKEN }} # Required
# app_id: "ID"
# glob: ** # All files
# team: true
You can use discloud.config
file to specify app_id
See example
You can use the .discloudignore
file to ignore files during deploy
See example
You can use the glob
property to specify which files to upload
glob: |
**
pathToFile
pathToDirectory/**