Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .github/workflows/push-to-prod.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Push to main + docs branches

on:
workflow_dispatch:

jobs:
push_changes:
runs-on: ubuntu-latest
steps:
- name: Checkout develop branch
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
persist-credentials: false
ref: 'develop'
fetch-depth: 0

- name: Generate token
id: generate_token
uses: actions/create-github-app-token@df432ceedc7162793a195dd1713ff69aefc7379e
with:
app-id: 894214
private-key: ${{ secrets.THIRDWEB_BOT_PRIVATE_KEY }}

- name: Push to main + docs branches
env:
GH_TOKEN: ${{ steps.generate_token.outputs.token }}
run: |
git push origin develop:main --force
git push origin develop:docs --force