https://github.com/psilore/deployer
Deploy from a pull request
https://github.com/psilore/deployer
actions deployment
Last synced: 2 months ago
JSON representation
Deploy from a pull request
- Host: GitHub
- URL: https://github.com/psilore/deployer
- Owner: psilore
- License: mit
- Created: 2025-06-14T14:20:30.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-06-16T06:43:25.000Z (about 1 year ago)
- Last Synced: 2025-10-07T12:22:28.903Z (9 months ago)
- Topics: actions, deployment
- Language: Shell
- Homepage:
- Size: 1020 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# deployer
[](https://conventionalcommits.org)
[](https://github.com/semantic-release/semantic-release)
Deploy from a pull request
## Create a batch deployment
1. Dispatch workflow `deployer-pull-request.yml`
```bash
gh workflow run deployer-pull-request.yml -f team_slug=""
```
2. Goto **"Pull requests"** tab in GitHub and wait until pull request is created
3. Open pull request `chore(cd): repo deployment` and select which repositories to deploy
**Example**

4. Wait until list of repositories is created
5. Click `Squash and merge`
6. Wait for all selected repositories to be deployed, label with date deployed is added to closed pull request
**Example**

## Pull request flow
```mermaid
stateDiagram-v2
dsp: Dispatch list of repos to deploy
pr: Pull request
cpr: Create pull request
epr: Edit pull request
mpr: Merge pull request
[*] --> cpr: workflow_dispatch
cpr --> pr:Create checklist of team repos
pr --> epr
epr --> pr: changes
pr --> mpr
mpr --> dsp: closed
dsp --> [*]:workflow_dispatch
```
## Dispatch deployment
Selected repositories with workflow `deploy.yml` will automatically start deploy.
### Closed pull request
Once deployment is complete, the closed pull request is labeled with id for the deployment.

### Summary
Summary for each batch with a link back to pull request that iniated the deployment.
