Update Configuration.h #13
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
name: Build Marlin Firmware | |
on: | |
push: | |
branches: | |
- master | |
#paths: | |
# - 'Firmware/Configuration/**.h' | |
jobs: | |
build_and_push: | |
name: Compile and Push Firmware | |
runs-on: ubuntu-latest | |
env: | |
BOARD: LPC1768 | |
steps: | |
- name: Check out repo | |
uses: actions/checkout@v4 | |
- name: Compile firmware | |
run: | | |
docker run \ | |
-u root:root \ | |
-e BOARD \ | |
-e USE_TAG=2.1.2.2 \ | |
-v $(pwd)/Firmware/Builds:/home/platformio/build \ | |
-v $(pwd)/Firmware/Configuration:/home/platformio/CustomConfiguration \ | |
ghcr.io/trivarialthea/marlin-build:latest | |
- name: Push firmware | |
run: | | |
git config user.name github-actions | |
git config user.email github-actions@github.com | |
git add . | |
git commit -m "Compiled firmware" | |
git push "https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git" |