Skip to content

Commit

Permalink
fix: Simplify logic
Browse files Browse the repository at this point in the history
  • Loading branch information
abensonca authored Nov 11, 2024
1 parent 9339fe7 commit b875c87
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/bibliographyUpdater.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
echo Set environment with app ID
- uses: actions/checkout@v4
- uses: tibdex/github-app-token@v2
if: ${{ ( env.appid != '' ) && ( env.adstoken != '' ) }}
if: ${{ env.appid != '' }}
id: generate-token
with:
app_id: ${{ secrets.DEPLOY_APP_ID }}
Expand All @@ -36,7 +36,7 @@ jobs:
sudo apt -y update
sudo apt install -y libwww-curl-perl libjson-pp-perl perl-doc libtext-bibtex-perl
- name: Update the bibliography
if: ${{ ( env.appid != '' ) && ( env.adstoken != '' ) }}
if: ${{ env.adstoken != '' }}
run: |
./scripts/aux/bibliographyUpdate.pl ${{ secrets.NASA_ADS_API_TOKEN }}
- name: Create Pull Request
Expand Down

0 comments on commit b875c87

Please sign in to comment.