Skip to content

Feat: Created SDK

Feat: Created SDK #138

Workflow file for this run

name: Sarthi Preview Environments
on:
pull_request_target:
types: [ opened, closed, reopened, synchronize ]
pull_request:
types: [ opened, closed, reopened, synchronize ]
push:
# delete preview environments when branches are deleted
delete:
jobs:
sarthi_job:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Set up Sarthi
uses: tushar5526/sarthi-deploy@main
with:
compose_file: docker-compose.yaml # override this with the compose file name
sarthi_server_url: ${{ secrets.SARTHI_SERVER_URL }}
sarthi_secret: ${{ secrets.SARTHI_SECRET }} # Secret text generate while setting up the server