Skip to content

Commit

Permalink
ci: Sync Bedrock branch
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonjgardner committed Mar 12, 2024
1 parent 44e946b commit 8a9d8f5
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/sync-bedrock.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Bedrock Branch

on:
push:
branches: [ main ]

permissions: write-all

jobs:
sync:
runs-on: ubuntu-latest
steps:
- name: Checkout Bedrock
uses: actions/checkout@v3
with:
ref: bedrock
fetch-depth: 0
- uses: fregante/setup-git-user@v2
- name: Sync main to bedrock
run: |
git rm -rf ./RP
git checkout main -- bedrock/pack/RP
git mv ./bedrock/pack/RP ./RP
git add ./RP
git push origin bedrock

0 comments on commit 8a9d8f5

Please sign in to comment.