Skip to content

Commit a88cd98

Browse files
committed
ci(cron): add api key env
1 parent 7d2d02e commit a88cd98

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/cron.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
APILAYER_KEY: ${{ secrets.APILAYER_KEY }}
3737
run: |
3838
cd ua_generator
39-
BUILD_ENABLED=1 cargo build
39+
BUILD_ENABLED=1 APILAYER_KEY=${{ secrets.APILAYER_KEY }} cargo build
4040
4141
- name: Bump patch for ua_generator
4242
id: bump
@@ -65,7 +65,7 @@ jobs:
6565
env:
6666
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
6767
APILAYER_KEY: ${{ secrets.APILAYER_KEY }}
68-
run: cargo release -p ua_generator --execute --no-confirm
68+
run: APILAYER_KEY=${{ secrets.APILAYER_KEY }} cargo release -p ua_generator --execute --no-confirm
6969

7070
# - name: Push tags
7171
# run: git push --atomic origin HEAD --follow-tags

0 commit comments

Comments
 (0)