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.

41 lines
852 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:
ports:
- 80:8080
volumes:
- /var/www/html:/var/www/html
11 months ago
- name: project2
url: ssh://example.org/username/project2.git
commit: 04c540647a
type: docker-compose
options:
path: ./docker-compose.yml # already the default
- name: project3
url: https://github.com/username/project3
type: shell
options:
path: ./deploy.sh # already the default
11 months ago
```