Skip to content

Commit

Permalink
Merge branch 'main' into patch-3
Browse files Browse the repository at this point in the history
  • Loading branch information
gmpinder authored Feb 14, 2024
2 parents 1477eaf + bb7ab8e commit 2b3166a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/build-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ jobs:
version: v0.8.3

- name: Earthly login
if: github.repository == 'blue-build/cli'
env:
EARTHLY_SAT_TOKEN: ${{ secrets.EARTHLY_SAT_TOKEN }}
if: env.EARTHLY_SAT_TOKEN != null
run: |
earthly account login --token ${{ secrets.EARTHLY_SAT_TOKEN }} >> /dev/null
earthly org s blue-build
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ jobs:
version: v0.8.3

- name: Earthly login
if: github.repository == 'blue-build/cli'
env:
EARTHLY_SAT_TOKEN: ${{ secrets.EARTHLY_SAT_TOKEN }}
if: env.EARTHLY_SAT_TOKEN != null
run: |
earthly account login --token ${{ secrets.EARTHLY_SAT_TOKEN }} >> /dev/null
earthly org s blue-build
Expand All @@ -43,6 +45,3 @@ jobs:
- name: Run build
if: github.repository == 'blue-build/cli'
run: earthly --push --ci -P +all
- name: Run build
if: github.repository != 'blue-build/cli'
run: earthly --ci -P +all

0 comments on commit 2b3166a

Please sign in to comment.