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.

50 lines
943 B
Markdown

11 months ago
# phCD
Continuous Deployment for PHC projects.
## Development
```bash
# First install the dependencies
$ pnpm install
# Run the local server
$ pnpm dev
# Build all
$ pnpm build
11 months ago
```
## 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
ref:
type: branch
value: main
11 months ago
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
ref:
type: commit
value: '1234567'
11 months ago
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
```