We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a344864 commit 0e1e2a3Copy full SHA for 0e1e2a3
1 file changed
.github/workflows/push-to-prod.yml
@@ -0,0 +1,29 @@
1
+name: Push to main + docs branches
2
+
3
+on:
4
+ workflow_dispatch:
5
6
+jobs:
7
+ push_changes:
8
+ runs-on: ubuntu-latest
9
+ steps:
10
+ - name: Checkout develop branch
11
+ uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
12
+ with:
13
+ persist-credentials: false
14
+ ref: 'develop'
15
+ fetch-depth: 0
16
17
+ - name: Generate token
18
+ id: generate_token
19
+ uses: actions/create-github-app-token@df432ceedc7162793a195dd1713ff69aefc7379e
20
21
+ app-id: 894214
22
+ private-key: ${{ secrets.THIRDWEB_BOT_PRIVATE_KEY }}
23
24
+ - name: Push to main + docs branches
25
+ env:
26
+ GH_TOKEN: ${{ steps.generate_token.outputs.token }}
27
+ run: |
28
+ git push origin develop:main --force
29
+ git push origin develop:docs --force
0 commit comments