https://github.com/firelemons/on-deploy
https://github.com/firelemons/on-deploy
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/firelemons/on-deploy
- Owner: FireLemons
- Created: 2022-02-10T23:55:22.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-04-12T01:17:11.000Z (about 3 years ago)
- Last Synced: 2025-03-22T10:43:02.269Z (over 1 year ago)
- Language: JavaScript
- Size: 17.1 MB
- Stars: 0
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# on-deploy
If a deploy has been done witin the day,
- All cards from the QA column are moved to the Done column
## Params
### done_column_card_limit:
The maximum number of cards allowed in the done column before archiving them
### done_column_name:
The name of the column representing issues pushed to prod
### QA_column_name:
The name of the column representing issues merged to QA
### project_name:
The name of the project to manage
## Example Usage
```
on:
schedule:
- cron: '0 1 * * *' # Run every day
workflow_dispatch: # Enable Manual Runs
jobs:
on_deploy:
runs-on: ubuntu-latest
name: On Deploy
steps:
- name: After Deploy
uses: Firelemons/on-deploy@v2.2
with:
project_name: "CASA Volunteer Portal"
done_column_card_limit: "16"
done_column_name: "Done (in prod!)"
QA_column_name: "Merged to QA"open
token: ${{secrets.GITHUB_TOKEN}}
```
## Developing
### Setup
`git clone git@github.com:FireLemons/on-deploy.git` Clone the repo
`cd on-deploy`
`npm i` Install node dependencies
Open and edit `index.ts`(a typescript file)
Open a new terminal and run `npm run autocompile`. This will automatically compile `index.ts` into `index.js` every time `index.ts` is saved. Watch the window for typescript errors.