This is a work in progress and is not ready for use yet.
This GitHub action is responsible for building and deploying the specified docker compose file to ComposeDeploy.
The GitHub action will do the following.
- Build the docker compose file
- Push the docker compose file to the specified registry (using the generated api key(password) and project id(username))
- Upload the docker compose to the API backend (so the backend know what services to start etc).
- Tell the API to setup to deploy the docker compose file.
- Wait for the API to finish deploying the docker compose file.
- Done!
This action is created using nodejs 20 and Typescript.
Make sure you first build the changes in the code.
npm run buildTo release a new version you need to create a git tag with the version number. This will trigger the GitHub action to build and publish the new version to the GitHub marketplace.
# replace release name with the version number
git tag -a -m "ReleaseName" v1
# push the tags to Github
git push --follow-tags