Skip to content

Commit

Permalink
Expose git branch env when building
Browse files Browse the repository at this point in the history
  • Loading branch information
ibilon committed Nov 4, 2023
1 parent af1264a commit e733ca5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Build
run: earthly +generate
env:
GIT_BRANCH: ${{ github.ref_name }}
- name: Create .envrc
if: success() && env.DEPLOY == 'true'
run: |
Expand Down

0 comments on commit e733ca5

Please sign in to comment.