✨ PELTIER_BED #529
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# 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-latest | |
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 |