Skip to content

Commit

Permalink
Add kaggle credential env vars to build step
Browse files Browse the repository at this point in the history
  • Loading branch information
kaaloo committed Mar 27, 2024
1 parent 88c88f5 commit c886cff
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,13 @@ jobs:
- run: poetry install --no-root
- run: yarn install --frozen-lockfile
- run: poetry run yarn build
env:
# Kaggle credentials
KAGGLE_USERNAME: ${{ secrets.KAGGLE_USERNAME }}
KAGGLE_KEY: ${{ secrets.KAGGLE_KEY }}
- name: Deploy to Observable Cloud
# This parameter to `--message` will use the latest commit message
run: yarn deploy -- --message "$(git log -1 --pretty=%s)"
env:
# Authentication information. See below for how to set this up.
# Auth token to deploy to Observable Cloud
OBSERVABLE_TOKEN: ${{ secrets.OBSERVABLE_TOKEN }}

0 comments on commit c886cff

Please sign in to comment.