Skip to content

🔧 Config @ section adjustments #543

🔧 Config @ section adjustments

🔧 Config @ section adjustments #543

Workflow file for this run

#
# deploy.yml
#
# Rebuild the bugfix-2.1.x branch whenever 'import-2.1.x' is pushed
#
name: Deploy
on:
push:
branches:
- import-2.1.x
paths:
- 'config/**'
- 'bin/mfconfig'
jobs:
deploy:
if: github.repository == 'MarlinFirmware/Configurations'
runs-on: ubuntu-22.04
steps:
- name: Check out
uses: actions/checkout@v4
with:
fetch-depth: 0 # Fetch all history for all branches and tags
token: ${{ secrets.GITHUB_TOKEN }} # Use the built-in token for authentication
- name: Fetch all branches
run: git fetch --all
- name: Set up Git identity
run: |
git config --global user.email "[email protected]"
git config --global user.name "GitHub Actions"
- name: Build bugfix-2.1.x
run: bin/mfconfig CI
- name: Push bugfix-2.1.x
run: git push -f origin WORK:bugfix-2.1.x