Skip to content

Commit

Permalink
fix: Set environment for entire job
Browse files Browse the repository at this point in the history
  • Loading branch information
abensonca authored Nov 11, 2024
1 parent b875c87 commit 0994e88
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/bibliographyUpdater.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,10 @@ defaults:
jobs:
Update-Bibliography:
runs-on: ubuntu-latest
env:
appid: ${{ secrets.DEPLOY_APP_ID }}
adstoken: ${{ secrets.NASA_ADS_API_TOKEN }}
steps:
- name: Check for app ID
env:
appid: ${{ secrets.DEPLOY_APP_ID }}
adstoken: ${{ secrets.NASA_ADS_API_TOKEN }}
run: |
echo Set environment with app ID
- uses: actions/checkout@v4
- uses: tibdex/github-app-token@v2
if: ${{ env.appid != '' }}
Expand Down

0 comments on commit 0994e88

Please sign in to comment.