Skip to content

Commit

Permalink
Update ci-build-img.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
varmoh authored Jul 11, 2024
1 parent bc8af55 commit 9610205
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci-build-img.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
branches: [ dev ]
paths:
- '.env'
- '.env.img'

jobs:
PackageDeploy:
Expand All @@ -18,8 +18,8 @@ jobs:

- name: Load environment variables and set them
run: |
if [ -f .env ]; then
export $(cat .env | grep -v '^#' | xargs)
if [ -f .env.img ]; then
export $(cat .env.img | grep -v '^#' | xargs)
fi
echo "RELEASE=$RELEASE" >> $GITHUB_ENV
echo "VERSION=$VERSION" >> $GITHUB_ENV
Expand Down

0 comments on commit 9610205

Please sign in to comment.