upd: Fix flipbooks / Add POM #13
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Bedrock Branch | |
on: | |
push: | |
branches: [ main ] | |
paths: [ 'bedrock/pack/**' ] | |
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 origin/main -- bedrock/pack/RP | |
git mv ./bedrock/pack/RP ./RP | |
git add ./RP | |
git push origin bedrock |