Skip to content

Use credentials for Loki API #3

Use credentials for Loki API

Use credentials for Loki API #3

Workflow file for this run

name: Deploy Worker
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@v3
- name: Build & Deploy Worker
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
accountId: ${{ secrets.CF_ACCOUNT_ID }}
vars: LOKI_PUSH_URL
vars: LOKI_CREDENTIALS

Check failure on line 20 in .github/workflows/deploy.yml

View workflow run for this annotation

GitHub Actions / Deploy Worker

Invalid workflow file

The workflow is not valid. .github/workflows/deploy.yml (Line: 20, Col: 19): 'vars' is already defined
env:
LOKI_PUSH_URL: ${{ secrets.LOKI_PUSH_URL }}
LOKI_CREDENTIALS: ${{ secrets.LOKI_CREDENTIALS }}