Skip to content

Commit 7c5f40d

Browse files
committed
Add target port and environment variables to deploy
1 parent ff58ea3 commit 7c5f40d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,5 @@ jobs:
4949
registryUrl: ${{ vars.REGISTRY_URL }}
5050
registryUsername: ${{ secrets.DOCKERHUB_USERNAME }}
5151
registryPassword: ${{ secrets.DOCKERHUB_TOKEN }}
52+
targetPort: ${{ vars.CONTAINER_PORT }}
53+
environmentVariables: ASPNETCORE_ENVIRONMENT=Production SERVER_URL=${{ vars.SERVER_URL}}

0 commit comments

Comments
 (0)