oops
This commit is contained in:
@@ -237,13 +237,6 @@ jobs:
|
||||
with:
|
||||
token: ${{ secrets.TOKEN }}
|
||||
|
||||
- id: download-updated-readme
|
||||
name: Download README
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: updated-readme
|
||||
path: .
|
||||
|
||||
- id: configure-git
|
||||
name: Configure Git
|
||||
run: |
|
||||
@@ -251,6 +244,23 @@ jobs:
|
||||
git config user.name "ci-bot"
|
||||
git config lfs.https://${{ vars.CONTAINER_REGISTRY }}/arlind/skins.git/info/lfs.locksverify true
|
||||
|
||||
- id: rebase-repository
|
||||
name: Rebase Repository
|
||||
run: |
|
||||
git fetch origin main
|
||||
git rebase origin/main || {
|
||||
echo "⚠️ Git rebase failed, likely due to conflicts."
|
||||
git rebase --abort || true
|
||||
exit 1
|
||||
}
|
||||
|
||||
- id: download-updated-readme
|
||||
name: Download README
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: updated-readme
|
||||
path: .
|
||||
|
||||
- id: commit-and-push
|
||||
name: Commit and Push README
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user