diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 47a2465..79e3bfb 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -22,7 +22,9 @@ jobs: uses: actions/checkout@v3 - name: Build the app - run: ./scripts/build.sh + run: | + chmod +x ./scripts/build.sh + ./scripts/build.sh - name: Configure AWS credentials uses: aws-actions/configure-aws-credentials@v1 diff --git a/scripts/build.sh b/scripts/build.sh index c67faf7..f586823 100644 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -1,2 +1,3 @@ +#!/bin/bash CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o Barkin \ No newline at end of file