Skip to content

Commit

Permalink
deploy: add api keys to environment (#56)
Browse files Browse the repository at this point in the history
Add pikespeak and posthog api keys to environment variables accessible
by the deploy script.
  • Loading branch information
petersalomonsen authored Oct 15, 2024
1 parent e221939 commit 4e5fa02
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/deploy-web4-contract.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ jobs:
uses: actions/checkout@v4
- name: Install cargo-near CLI
run: curl --proto '=https' --tlsv1.2 -LsSf https://github.com/near/cargo-near/releases/latest/download/cargo-near-installer.sh | sh
- name: Set up Pikespeak API key
run: echo "PIKESPEAK_API_KEY=${{ secrets.PIKESPEAK_API_KEY }}" >> $GITHUB_ENV
- name: Set up PostHog API key
run: echo "POSTHOG_API_KEY=${{ secrets.POSTHOG_API_KEY }}" >> $GITHUB_ENV
- name: Deploy to ${{ matrix.environment }}
run: |
cargo near deploy --no-docker "${{ vars.NEAR_TREASURY_WEB4_ACCOUNT_ID }}" \
Expand Down

0 comments on commit 4e5fa02

Please sign in to comment.