Skip to content
This repository was archived by the owner on Oct 18, 2024. It is now read-only.

Commit 09e61f3

Browse files
committed
fix: duplicate env steps for gh action docker
1 parent 810022f commit 09e61f3

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

.github/workflows/docker.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,16 @@ jobs:
3232
steps:
3333
- name: check out the repo
3434
uses: actions/checkout@v4
35-
- name: Download .env artifact
36-
uses: actions/download-artifact@v4
37-
with:
38-
name: env-file
39-
path: .
35+
# - name: Download .env artifact
36+
# uses: actions/download-artifact@v4
37+
# with:
38+
# name: env-file
39+
# path: .
40+
- name: npm install
41+
run: |
42+
npm ci
43+
echo "NEXT_PUBLIC_FLAGSMITH_ENVIRONMENT_ID=${{ secrets.NEXT_PUBLIC_FLAGSMITH_ENVIRONMENT_ID }}" >> .env
44+
echo "DATABASE_URL=${{ secrets.DATABASE_URL }}" >> .env
4045
- name: get-npm-version
4146
id: package-version
4247
uses: martinbeentjes/npm-get-version-action@master

0 commit comments

Comments
 (0)