https://github.com/mondaycom/monday-code-deploy-action
https://github.com/mondaycom/monday-code-deploy-action
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/mondaycom/monday-code-deploy-action
- Owner: mondaycom
- License: mit
- Created: 2023-10-01T09:23:08.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2025-03-11T16:16:15.000Z (over 1 year ago)
- Last Synced: 2025-03-11T17:30:02.978Z (over 1 year ago)
- Language: Shell
- Size: 15.6 KB
- Stars: 4
- Watchers: 5
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Monday Code Deploy Action
This action deploys your project to your monday app.
## Inputs
### `token`
**Required**
Monday developer token.
Can be acquired here: https://.monday.com/apps/manage/tokens
### `appId`
The app ID to push your code into (required if versionId is not provided).
Can be found using `mapps app:list` command in your terminal or in the dev center.
### `versionId`
The specific version ID to deploy to (required if appId is not provided).
Can be found using `mapps app:versions` command.
Note: If deploying to a live version, you must also set `force: true`.
### `force`
Boolean flag to force push to the latest version (draft or live).
Required when deploying to a live version.
Default is `false`.
### `region`
The region to deploy the app to: `us`, `eu`, or `au`.
## Example Usage
```yaml
name: Deploy to monday code
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
# Deploy using app ID
- name: Deploy to monday code
uses: mondaycom/monday-code-deploy-action@master
with:
token: ${{ secrets.MONDAY_TOKEN }}
appId: 10110073
region: eu
# Or deploy using version ID
- name: Deploy to specific version
uses: mondaycom/monday-code-deploy-action@master
with:
token: ${{ secrets.MONDAY_TOKEN }}
versionId: 12345678
force: true # required if version is live
region: eu
```
Note: You must provide either `appId` or `versionId`. If both are provided, `versionId` will take precedence over `appId`.