We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c004356 commit 5f50ec6Copy full SHA for 5f50ec6
.github/workflows/branch.yml
@@ -141,8 +141,8 @@ jobs:
141
APP_ENV="dev"
142
fi
143
ssh staging "cd /var/docker/api/${DOCKER_BRANCH} && \
144
- export DOCKER_BRANCH=${DOCKER_BRANCH} && \
145
- export DOCKER_REGISTRY=${DOCKER_REGISTRY} && \
+ export DOCKER_BRANCH=${{ github.ref_name }} && \
+ export DOCKER_REGISTRY=${{ secrets.DOCKER_REGISTRY }} && \
146
echo 'APP_ENV=${APP_ENV}' > .env && \
147
echo 'DATABASE_URL=${DATABASE_URL}' >> .env && \
148
echo 'DOCKER_NETWORK_NAME=api-${DOCKER_BRANCH}' >> .env && \
0 commit comments