Skip to content

Commit

Permalink
env var
Browse files Browse the repository at this point in the history
  • Loading branch information
ezeev committed Jul 27, 2023
1 parent 1783e3f commit 4c4557b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-satellites.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
EARTHLY_TOKEN: ${{ secrets.EARTHLY_TOKEN }}
EARTHLY_ORG: ${{ secrets.EARTHLY_ORG }}
SATELLITE_NAME: ${{ secrets.SATELLITE_NAME }}
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
# FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
FORCE_COLOR: 1
EARTHLY_LOGSTREAM_UPLOAD: true
steps:
Expand Down
8 changes: 6 additions & 2 deletions deploy/Earthfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
VERSION 0.7

PROJECT earthly-sa/earthly-vs-gha

FROM ubuntu:23.10
WORKDIR /deploy
# RUN --secret MY_KEY=my_key echo $MY_KEY



ENV FLY_API_TOKEN
# earthly secret --org earthly-sa --project earthly-vs-gha set fly_api_token YOUR_FLY_API_TOKEN
RUN --secret FLY_API_TOKEN=fly_api_token

deps:
RUN apt update
Expand Down

0 comments on commit 4c4557b

Please sign in to comment.