Skip to content

Commit

Permalink
Update maven.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mbisztyga authored Mar 26, 2024
1 parent 7bea2ad commit 0ffdd7a
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,19 +33,6 @@ jobs:
if: github.ref == 'refs/heads/main'

steps:
- name: Start Ngrok
run: |
curl -o ngrok.zip https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.zip
unzip ngrok.zip
./ngrok http 8080 &>/dev/null &
- name: Wait for Ngrok to Initialize
run: sleep 5

- name: Get Ngrok URL
id: ngrok
run: echo "::set-output name=url::$(curl -s http://localhost:8080/api/tunnels | jq -r '.tunnels[0].public_url')"

- name: Run SOOS DAST test
uses: soos-io/soos-dast-github-action@v2
with:
Expand All @@ -54,4 +41,4 @@ jobs:
project_name: "magazyn-server"
scan_mode: "baseline"
api_url: "https://api.soos.io/api/"
target_url: ${{ steps.ngrok.outputs.url }}
target_url: "https://43b9-2a01-111f-b24-2b00-34f0-c23b-184f-f147.ngrok-free.app/"

0 comments on commit 0ffdd7a

Please sign in to comment.