To install & setup the latest version of Twingate:
tasks:
- key: twingate
call: twingate/setup 1.1.0
with:
twingate-service-key: ${{ secrets.twingate-service-key }}In the task that needs to connect to Twingate:
tasks:
- key: example-that-uses-twingate
use: twingate
background-processes:
- key: twingate
run: sudo twingate start
ready-check: |
# print full output for observability
twingate status
# make sure it is online
twingate status | grep online
run: ...For more information on using Twingate, see the Twingate documentation.
