Skip to content

Commit 01de7e2

Browse files
committed
cd: fix environment variable not showing in workflow
1 parent 665e641 commit 01de7e2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ permissions:
1616

1717
jobs:
1818
build:
19+
environment: Production
1920
runs-on: ubuntu-latest
2021
steps:
2122
- name: Checkout repository
@@ -52,7 +53,7 @@ jobs:
5253
- name: Build Docker Image
5354
uses: docker/build-push-action@v6
5455
with:
55-
push: ${{ github.event_name != 'pull_request' }}
56+
push: true
5657
tags: ${{ steps.meta.outputs.tags }}
5758
labels: ${{ steps.meta.outputs.labels }}
5859
cache-from: type=gha

0 commit comments

Comments
 (0)