Skip to content

Rename workflow to publish-staging-docker.yml and modify it to run on… #275

Rename workflow to publish-staging-docker.yml and modify it to run on…

Rename workflow to publish-staging-docker.yml and modify it to run on… #275

Workflow file for this run

name: Sync Mainnet
on:
push:
#branches: ["main"]
workflow_dispatch:
jobs:
sync-mainnet:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.GITHUB_TOKEN }}
- name: Configure Git
run: |
git config user.name "GitHub Actions"
git config user.email "github-actions@github.com"
- name: Fast-forward merge main into mainnet
run: |
git checkout mainnet
#git merge --ff-only origin/main
git merge origin/main
git push origin mainnet