Skip to content

Commit

Permalink
Changed to env var
Browse files Browse the repository at this point in the history
  • Loading branch information
Sharpz7 committed Jan 25, 2021
1 parent ff500b1 commit 7059a20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sharpdev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: 0.1
envfile: .env

values:
SECRET: '{\"secret\":\"Secret123\"}'
SECRET: '{\"secret\":\"$PASS\"}'

scripts:
build: go build -o ./internal/sharpcd ./src
Expand Down Expand Up @@ -30,7 +30,7 @@ scripts:
filter: ./internal/sharpcd addfilter https://raw.githubusercontent.com/Sharpz7/
remove: ./internal/sharpcd removefilter https://raw.githubusercontent.com/Sharpz7/
token: ./internal/sharpcd changetoken ${SHARP_ARG_1}
alljobs: curl -k -X POST -d SECRET https://localhost:5666/api/jobs
alljobs: curl -k -X POST -d SECRET https://173.212.252.82:5666/api/jobs

file: |
curl -H 'Authorization: token ${SHARP_ARG_1}' \
Expand Down

0 comments on commit 7059a20

Please sign in to comment.