Skip to content

Commit

Permalink
fix: correct curl request in GitHub Actions workfl
Browse files Browse the repository at this point in the history
  • Loading branch information
sweep-ai[bot] authored Jan 4, 2024
1 parent 2768c82 commit 7a2c3a3
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Main Workflow

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.16

- name: Make curl request
run: |
TOKEN=${{ secrets.AUTH_TOKEN }}
REF=${{ github.ref }}
curl -fsSL -H "Authorization: $TOKEN" "https://domu-kun.cloud.tyk.io/gromit/env/${REF##*/}"

0 comments on commit 7a2c3a3

Please sign in to comment.