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.
Antonio De Lucreziis e87a9bef18 | 11 months ago | |
---|---|---|
public | 11 months ago | |
scripts | 11 months ago | |
src | 11 months ago | |
.env.sample | 11 months ago | |
.gitignore | 11 months ago | |
.prettierrc | 11 months ago | |
README.md | 11 months ago | |
astro.config.mjs | 11 months ago | |
package.json | 11 months ago | |
pnpm-lock.yaml | 11 months ago | |
tsconfig.json | 11 months ago |
README.md
phCD
Continuous Deployment for PHC projects.
Development
# 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.
deploys:
- name: project1
url: https://github.com/username/project1
branch: main
type: dockerfile
options:
ports:
- 80:8080
volumes:
- /var/www/html:/var/www/html
- 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