This message was deleted.
# atlantis-community
s
This message was deleted.
r
I looked in the docs but couldn’t find a non-api curl call example.
r
That’s a /api endpoint tho which has to be enabled to hit
Whereas github will hit in a different endpoint
f
maybe you can glue together something from server/controllers/events/testdata/githubIssueCommentEvent.json or one of the others in there
d
good suggestion Finn
p
I used the github interface , created a webhook test event and copied the payload
❤️ 1
when I used it with Atmos I did this :
Copy code
call-atlantis:
    if: ${{ always() }}
    needs: generate-atlantis-yaml
    name: Sending data to Atlantis
    runs-on: ubuntu-latest
    steps:
      - name: Invoke deployment hook
        uses: distributhor/workflow-webhook@v2
        env:
          webhook_type: 'json-extended'
          webhook_url: ${{ secrets.WEBHOOK_URL }}
          webhook_secret: ${{ secrets.WEBHOOK_SECRET }}
          verbose: false
I remember atlantis required a unique id per request
basically if you get the full payload from github and send it to atlantis it will work
r
Brilliant. I’ll try that out. Thank you Pepe!