Skip to content

Commit

Permalink
debug github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
pritamd47 committed Jul 9, 2024
1 parent 5d960d1 commit d423db0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/rat/run_rat.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ def run_rat(config_fn, operational_latency=None):
log.info("Checking earth engine credentials")
secrets = configparser.ConfigParser()
if config['CONFIDENTIAL']['secrets'] == 'GA':
print('USING GITHUB ACTIONS SECRETS')
log.info('USING GITHUB ACTIONS SECRETS')
secrets.read_string(os.environ['GA'])
print(os.environ['GA'])
log.info(os.environ['GA'])
temp_key_file = NamedTemporaryFile(delete=True)
temp_key_file.write(os.environ['KEY_FILE'].encode())
secrets['ee']['key_file'] = temp_key_file.name
Expand Down

0 comments on commit d423db0

Please sign in to comment.