📘 If you’re using version v4
or later of the official Aptible Deploy GitHub Action, Source information is retrieved and sent automatically. No further configuration is required.
To set up a new Source for an App, visit the Source Setup page and follow the instructions. You will be presented with a GitHub Workflow that you can add to your repository.
APTIBLE_GIT_REPOSITORY_URL
, the browser-accessible URL of the git repository associated with the App.
https://github.com/example-org/example
.APTIBLE_GIT_REF
, the branch name or tag of the revision being deployed.
release-branch-2024-01-01
or v1.0.1
.APTIBLE_GIT_COMMIT_SHA
, the 40-character git commit SHA.
2fa8cf206417ac18179f36a64b31e6d0556ff20684c1ad8d866569912bbf7235
.APTIBLE_GIT_COMMIT_URL
, the browser-accessible URL of the commit.
https://github.com/example-org/example/commit/2fa8cf
.APTIBLE_GIT_COMMIT_TIMESTAMP
, the ISO8601 timestamp of the git commit.
2024-01-01T12:00:00-04:00
.APTIBLE_GIT_COMMIT_MESSAGE
, the full git commit message.APTIBLE_DOCKER_REPOSITORY_URL
, the browser-accessible URL of the Docker registry for the image being deployed.
https://hub.docker.com/repository/docker/example-org/example