Skip to content

Commit 06f42f0

Browse files
SukuWcclaude
andcommitted
Remove preview branch deploy steps from hardware and firmware workflows
The preview branch has been deleted. Artifacts from electrical and mechanical workflows remain accessible via GitHub Actions. Nightly firmware link updated to use the GitHub Release. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent c812dc5 commit 06f42f0

3 files changed

Lines changed: 1 addition & 72 deletions

File tree

.github/workflows/electrical_boards.yml

Lines changed: 0 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -68,38 +68,3 @@ jobs:
6868
Electrical/Design/${{ matrix.board }}/mfg-bot/
6969
if-no-files-found: warn
7070

71-
deploy-results:
72-
runs-on: ubuntu-latest
73-
needs: generate-artifacts
74-
steps:
75-
- uses: actions/checkout@v2
76-
with:
77-
ref: preview
78-
79-
- name: Download reports' artifacts
80-
uses: actions/download-artifact@v4
81-
with:
82-
path: download
83-
84-
- name: Collecting files
85-
run: |
86-
87-
# Create the temp folder if it doesn't exist
88-
mkdir -p Preview/Electrical
89-
90-
# Loop through each subdirectory in the download folder
91-
for subdirectory in download/*; do
92-
# Check if it is a directory
93-
if [ -d "$subdirectory" ]; then
94-
# Copy the contents of the subdirectory to the temp folder
95-
cp -r "$subdirectory"/* "Preview/Electrical/"
96-
fi
97-
done
98-
99-
- name: Commit the files
100-
run: |
101-
git config --global user.name ${{ github.actor }}
102-
git config --global user.email ${{ github.actor }}@users.noreply.github.com
103-
git add Preview/*
104-
git commit -m "BOT ${{ github.workflow }} ${{ github.sha }}"
105-
git push

.github/workflows/mechanical_components.yml

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -80,39 +80,3 @@ jobs:
8080
name: "result_${{ matrix.component }}_${{ env.action_date }}"
8181
path: temp/*.*
8282

83-
deploy-results:
84-
runs-on: ubuntu-latest
85-
if: github.ref == 'refs/heads/main'
86-
needs: generate-artifacts
87-
steps:
88-
- uses: actions/checkout@v2
89-
with:
90-
ref: preview
91-
92-
- name: Download reports' artifacts
93-
uses: actions/download-artifact@v4
94-
with:
95-
path: download
96-
97-
- name: Collecting files
98-
run: |
99-
100-
# Create the temp folder if it doesn't exist
101-
mkdir -p Preview/Mechanical
102-
103-
# Loop through each subdirectory in the download folder
104-
for subdirectory in download/*; do
105-
# Check if it is a directory
106-
if [ -d "$subdirectory" ]; then
107-
# Copy the contents of the subdirectory to the temp folder
108-
cp -r "$subdirectory"/* "Preview/Mechanical/"
109-
fi
110-
done
111-
112-
- name: Commit the files
113-
run: |
114-
git config --global user.name ${{ github.actor }}
115-
git config --global user.email ${{ github.actor }}@users.noreply.github.com
116-
git add Preview/*
117-
git commit -m "BOT ${{ github.workflow }} ${{ github.sha }}"
118-
git push

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ You can find more info on the [website](https://intech.studio/shop/knot) or in t
2424

2525
The nightly firmware is an early release version of the stable release. As it is an early version, some issues could still persist. In the case of issues, please denote the usage of a nightly firmware in the issue report.
2626

27-
[Nightly Release](https://github.com/intechstudio/knot/raw/preview/Preview/Firmware/knot_esp32_nightly.uf2)
27+
[Nightly Release](https://github.com/intechstudio/knot/releases/tag/nightly)
2828

2929
### Updating the firmware
3030

0 commit comments

Comments
 (0)