File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change 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+ with :
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
You can’t perform that action at this time.
0 commit comments