You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
633 B
Markdown
33 lines
633 B
Markdown
11 months ago
|
# phCD
|
||
|
|
||
|
Continuous Deployment for PHC projects.
|
||
|
|
||
|
## Development
|
||
|
|
||
|
```bash
|
||
|
# First install the dependencies
|
||
|
$ pnpm install
|
||
|
|
||
|
# Run the app
|
||
|
$ pnpm run dev
|
||
|
```
|
||
|
|
||
|
## Architecture
|
||
|
|
||
|
Everything is stored in the `config.yaml` file. This file contains a list of projects to deploy and the configuration for each one.
|
||
|
|
||
|
```yaml
|
||
|
deploys:
|
||
|
- name: project1
|
||
|
url: https://github.com/username/project1
|
||
|
branch: main
|
||
|
type: dockerfile
|
||
|
options:
|
||
|
path: ./Dockerfile
|
||
|
- name: project2
|
||
|
url: ssh://example.org/username/project2.git
|
||
|
commit: 04c540647a
|
||
|
type: docker-compose
|
||
|
options:
|
||
|
path: ./docker-compose.yml
|
||
|
```
|