Thanks to visit codestin.com Credit goes to github.com
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.
2 parents 0713187 + 7d57dcf commit 83319b3Copy full SHA for 83319b3
.github/workflows/sarthi.yml
@@ -0,0 +1,23 @@
1
+name: Sarthi Preview Environments
2
+on:
3
+ pull_request_target:
4
+ types: [ opened, closed, reopened, synchronize ]
5
+ pull_request:
6
7
+ push:
8
+ # delete preview environments when branches are deleted
9
+ delete:
10
+
11
+jobs:
12
+ sarthi_job:
13
+ runs-on: ubuntu-latest
14
+ steps:
15
+ - name: Checkout Repository
16
+ uses: actions/checkout@v2
17
18
+ - name: Set up Sarthi
19
+ uses: tushar5526/sarthi-deploy@main
20
+ with:
21
+ compose_file: docker-compose.yaml # override this with the compose file name
22
+ sarthi_server_url: ${{ secrets.SARTHI_SERVER_URL }}
23
+ sarthi_secret: ${{ secrets.SARTHI_SECRET }} # Secret text generate while setting up the server
0 commit comments