We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0713187 commit a10c631Copy full SHA for a10c631
.github/workflows/sarthi.yml
@@ -0,0 +1,22 @@
1
+name: Sarthi Preview Environments
2
+on:
3
+ pull_request_target:
4
+ types: [ opened, closed, reopened, synchronize ]
5
+ push:
6
+ # delete preview environments when branches are deleted
7
+ delete:
8
+
9
+jobs:
10
+ sarthi_job:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - name: Checkout Repository
14
+ uses: actions/checkout@v2
15
16
+ - name: Set up Sarthi
17
+ uses: tushar5526/sarthi-deploy@main
18
+ with:
19
+ compose_file: docker-compose.yaml # override this with the compose file name
20
+ sarthi_server_url: ${{ secrets.SARTHI_SERVER_URL }}
21
+ sarthi_secret: ${{ secrets.SARTHI_SECRET }} # Secret text generate while setting up the server
22
+ repo_token: ${{ secrets.GITHUB_TOKEN }}
0 commit comments