Skip to content

Merge pull request #265 from skip-mev/staging #102

Merge pull request #265 from skip-mev/staging

Merge pull request #265 from skip-mev/staging #102

Workflow file for this run

name: Deploy (dev)
on:
pull_request:
branches: [main]
types: [closed]
push:
branches: [main]
repository_dispatch:
types: [deploy-dev]
workflow_dispatch:
jobs:
sync:
runs-on: ubuntu-latest
steps:
- id: configure
name: configure
run: git config pull.ff true
- id: checkout
name: Checkout
uses: actions/checkout@v3
with:
ref: dev
- id: pull-main
name: Pull latest 'main'
run: git pull --ff-only origin main
- id: diff-check
name: Check if 'dev' is behind 'main'
run: git diff --exit-code origin/main
- id: fast-forward
name: Fast forward 'main' → 'dev'
run: git merge --ff-only origin/main
- id: push-dev
name: Push latest 'dev'
run: git push --set-upstream origin dev