Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ You also need to configure your GitHub secrets, of course, to not let your Token
- `token` - Your Square Cloud api token. Get your token from the [Square Cloud dashboard](https://squarecloud.app/dashboard/me) `Required`
- `application_id` - Your Square Cloud application ID. `Required`
- `restart` - After commit, does the application need to be restarted? `Optional`, `Default: False`
- `exclusions` - Files that shouldn't be uploaded to Square Cloud. (by default, includes `.git`) `Optional`
- `excludes` - Files that shouldn't be uploaded to Square Cloud. (by default, includes `.git`) `Optional`

### Example Workflow
#### Uploading your application and restarting it
Expand All @@ -29,7 +29,7 @@ jobs:
fetch-depth: '0'

- name: Commit to Square Cloud
uses: squarecloudofc/github-action@v1.2.0
uses: squarecloudofc/github-action@v1.3.0
with:
restart: true
token: '${{ secrets.SQUARE_TOKEN }}'
Expand All @@ -50,11 +50,11 @@ jobs:
fetch-depth: '0'

- name: Commit to Square Cloud
uses: squarecloudofc/github-action@v1.2.0
uses: squarecloudofc/github-action@v1.3.0
with:
token: '${{ secrets.SQUARE_TOKEN }}'
application_id: '${{ secrets.SQUARE_APPLICATIONID }}'
exclusions: '.vscode docs'
excludes: '.vscode docs'
```

### Configuring Secrets
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: 'Square Cloud Easy Action'
description: 'Deploy your application to square cloud using Github Actions'
author: 'richaardev'
author: 'richaardev & joaotonaco'
branding:
icon: square
color: gray-dark
Expand Down
Loading