oops
This commit is contained in:
@@ -237,13 +237,6 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
token: ${{ secrets.TOKEN }}
|
token: ${{ secrets.TOKEN }}
|
||||||
|
|
||||||
- id: download-updated-readme
|
|
||||||
name: Download README
|
|
||||||
uses: actions/download-artifact@v3
|
|
||||||
with:
|
|
||||||
name: updated-readme
|
|
||||||
path: .
|
|
||||||
|
|
||||||
- id: configure-git
|
- id: configure-git
|
||||||
name: Configure Git
|
name: Configure Git
|
||||||
run: |
|
run: |
|
||||||
@@ -251,6 +244,23 @@ jobs:
|
|||||||
git config user.name "ci-bot"
|
git config user.name "ci-bot"
|
||||||
git config lfs.https://${{ vars.CONTAINER_REGISTRY }}/arlind/skins.git/info/lfs.locksverify true
|
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
|
- id: commit-and-push
|
||||||
name: Commit and Push README
|
name: Commit and Push README
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user