mirror of
https://github.com/MarlinFirmware/Configurations.git
synced 2025-07-17 11:47:57 -06:00
✅ Fix deploy script
This commit is contained in:
parent
a261846306
commit
17c4846dda
2 changed files with 36 additions and 25 deletions
17
.github/workflows/deploy.yml
vendored
17
.github/workflows/deploy.yml
vendored
|
@ -21,7 +21,20 @@ jobs:
|
|||
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
|
||||
|
||||
# Run the mfconfig script with CI action
|
||||
- name: Deploy bugfix-2.1.x
|
||||
- name: Fetch all branches
|
||||
run: git fetch --all
|
||||
|
||||
- name: Set up Git identity
|
||||
run: |
|
||||
git config --global user.email "github-actions@github.com"
|
||||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue