hazeezet/CapRover action

Deploy to caprover server with complete flexibility

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Dec 12, 2024
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: hazeezet/caprover-action@826a214b93ece3ec8ace20a101b0c85f7423fdb5 # v2

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
serverCapRover admin panel URL. Example: https://root.domain.comyes
app-tokenCapRover app token.yes
app-nameApplication name on the CapRover server. Your app must exists.yes
registry-hostYour docker registry url Example: registry.gitlab.com/username/caprover-docker-images. this is used to store image temporarily before deployingno""
registry-userDocker registry token.no""
registry-tokenDocker registry token.no""
registry-nameRegistry server to deploy to, only AWS and caprover registry is currently supportednocaprover
aws-account-idYour AWS account IDno""
aws-access-key-idYour AWS access keyno""
aws-secret-access-keyYour AWS secret access keyno""
aws-regionYour AWS region of the registryno""
caprover-passwordyour caprover password, set this if you are deploying image to AWS, https://github.com/caprover/caprover/issues/1476no""
plainIf you are deploying plain filesnofalse
tarfileIf you are deploying tar filenofalse
branchIf you are deploying plain files then set the branch name to deploynomain
contentProject folder path or tar file to use to create the image or uploadno""
dockerfileDocker file path of your projectno""
image-nameImage name in your registryno""
image-tagNew image tagnolatest
deploy-appDeploy newly pushed image to caprovernotrue
build-platformsPlatforms to build the image fornolinux/amd64

no outputs