mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-09-12 05:48:57 +00:00
Remove GitHub actions staging workflow
This commit is contained in:
@@ -1,29 +0,0 @@
|
||||
name: Update Staging Branch
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
|
||||
permissions: write-all
|
||||
|
||||
jobs:
|
||||
sync:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Setup Git User
|
||||
run: |
|
||||
git config user.name "GitHub Actions"
|
||||
git config user.email "github-actions@gitbook.com"
|
||||
|
||||
- name: Update Staging Branch
|
||||
run: |
|
||||
git fetch origin
|
||||
git checkout staging
|
||||
git pull
|
||||
git merge origin/main
|
||||
git push origin staging
|
||||
Reference in New Issue
Block a user