build: update content-update branch on push to main
Some checks failed
Publish image / create-docker-images (push) Successful in 30s
Publish image / deploy (push) Successful in 10s
Publish image / rebase (push) Failing after 7s

This commit is contained in:
Alexander Navarro 2024-12-09 13:58:26 -03:00
parent 893b80d262
commit b4bc5c016f

View file

@ -44,3 +44,22 @@ jobs:
ssh_key: '${{ secrets.DOCKER_SWARM_SSH_KEY }}'
file: 'docker-stack.yaml'
name: 'personal-page'
rebase:
runs-on: ubuntu-latest
needs: deploy
if: success()
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: '0'
ref: content-update
- name: Update branch
run: |
set -x
git config --global user.name "robo"
git config --global user.email "robo@alecodes.page"
git rebase origin/main
git push origin content-update --force-with-lease