Skip to content

Commit

Permalink
Update upload artifact and separate out firmware naming
Browse files Browse the repository at this point in the history
Signed-off-by: Alex J Lennon <ajlennon@dynamicdevices.co.uk>
  • Loading branch information
ajlennon committed Nov 17, 2024
1 parent dd7126d commit e012752
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions .github/workflows/CI_github_kc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,19 +47,19 @@ jobs:
- name: Store artifacts
uses: actions/upload-artifact@v3.1.2
with:
name: firmware-${{ github.sha }}
name: firmware-minimal-${{ github.sha }}
path: ./build_output/firmware
- name: Deploy Development (if 'kettlecompanion' branch)
if: ${{ github.ref == 'refs/heads/kettlecompanion' }}
uses: JamesIves/github-pages-deploy-action@v4.4.1
uses: JamesIves/github-pages-deploy-action@v4.6.9
with:
branch: gh-pages # The branch the action should deploy to.
folder: build_output/firmware # The folder the action should deploy.
target-folder: devel
clean: false
- name: Deploy Production (if 'kettlecompanion-prod' branch)
if: ${{ github.ref == 'refs/heads/kettlecompanion-prod' }}
uses: JamesIves/github-pages-deploy-action@v4.4.1
uses: JamesIves/github-pages-deploy-action@v4.6.9
with:
branch: gh-pages # The branch the action should deploy to.
folder: build_output/firmware # The folder the action should deploy.
Expand Down Expand Up @@ -99,19 +99,19 @@ jobs:
- name: Store artifacts
uses: actions/upload-artifact@v3.1.2
with:
name: firmware-${{ github.sha }}
name: firmware-kettle-minimal-${{ github.sha }}
path: ./build_output/firmware
- name: Deploy Development (if 'kettlecompanion' branch)
if: ${{ github.ref == 'refs/heads/kettlecompanion' }}
uses: JamesIves/github-pages-deploy-action@v4.4.1
uses: JamesIves/github-pages-deploy-action@v4.6.9
with:
branch: gh-pages # The branch the action should deploy to.
folder: build_output/firmware # The folder the action should deploy.
target-folder: devel
clean: false
- name: Deploy Production (if 'kettlecompanion-prod' branch)
if: ${{ github.ref == 'refs/heads/kettlecompanion-prod' }}
uses: JamesIves/github-pages-deploy-action@v4.4.1
uses: JamesIves/github-pages-deploy-action@v4.6.9
with:
branch: gh-pages # The branch the action should deploy to.
folder: build_output/firmware # The folder the action should deploy.
Expand Down Expand Up @@ -151,19 +151,19 @@ jobs:
- name: Store artifacts
uses: actions/upload-artifact@v3.1.2
with:
name: firmware-${{ github.sha }}
name: firmware-minimal-trampoline${{ github.sha }}
path: ./build_output/firmware
- name: Deploy Development (if 'kettlecompanion' branch)
if: ${{ github.ref == 'refs/heads/kettlecompanion' }}
uses: JamesIves/github-pages-deploy-action@v4.4.1
uses: JamesIves/github-pages-deploy-action@v4.6.9
with:
branch: gh-pages # The branch the action should deploy to.
folder: build_output/firmware # The folder the action should deploy.
target-folder: devel
clean: false
- name: Deploy Production (if 'kettlecompanion-prod' branch)
if: ${{ github.ref == 'refs/heads/kettlecompanion-prod' }}
uses: JamesIves/github-pages-deploy-action@v4.4.1
uses: JamesIves/github-pages-deploy-action@v4.6.9
with:
branch: gh-pages # The branch the action should deploy to.
folder: build_output/firmware # The folder the action should deploy.
Expand Down Expand Up @@ -203,19 +203,19 @@ jobs:
- name: Store artifacts
uses: actions/upload-artifact@v3.1.2
with:
name: firmware-${{ github.sha }}
name: firmware-kettle-minimal-trampoline-${{ github.sha }}
path: ./build_output/firmware
- name: Deploy Development (if 'kettlecompanion' branch)
if: ${{ github.ref == 'refs/heads/kettlecompanion' }}
uses: JamesIves/github-pages-deploy-action@v4.4.1
uses: JamesIves/github-pages-deploy-action@v4.6.9
with:
branch: gh-pages # The branch the action should deploy to.
folder: build_output/firmware # The folder the action should deploy.
target-folder: devel
clean: false
- name: Deploy Production (if 'kettlecompanion-prod' branch)
if: ${{ github.ref == 'refs/heads/kettlecompanion-prod' }}
uses: JamesIves/github-pages-deploy-action@v4.4.1
uses: JamesIves/github-pages-deploy-action@v4.6.9
with:
branch: gh-pages # The branch the action should deploy to.
folder: build_output/firmware # The folder the action should deploy.
Expand Down Expand Up @@ -256,19 +256,19 @@ jobs:
- name: Store artifacts
uses: actions/upload-artifact@v3.1.2
with:
name: firmware-${{ github.sha }}
name: firmware-lite-${{ github.sha }}
path: ./build_output/firmware
- name: Deploy Development (if 'kettlecompanion' branch)
if: ${{ github.ref == 'refs/heads/kettlecompanion' }}
uses: JamesIves/github-pages-deploy-action@v4.4.1
uses: JamesIves/github-pages-deploy-action@v4.6.9
with:
branch: gh-pages # The branch the action should deploy to.
folder: build_output/firmware # The folder the action should deploy.
target-folder: devel
clean: false
- name: Deploy Production (if 'kettlecompanion-prod' branch)
if: ${{ github.ref == 'refs/heads/kettlecompanion-prod' }}
uses: JamesIves/github-pages-deploy-action@v4.4.1
uses: JamesIves/github-pages-deploy-action@v4.6.9
with:
branch: gh-pages # The branch the action should deploy to.
folder: build_output/firmware # The folder the action should deploy.
Expand Down Expand Up @@ -308,19 +308,19 @@ jobs:
- name: Store artifacts
uses: actions/upload-artifact@v3.1.2
with:
name: firmware-${{ github.sha }}
name: firmware-lite-trampoline${{ github.sha }}
path: ./build_output/firmware
- name: Deploy Development (if 'kettlecompanion' branch)
if: ${{ github.ref == 'refs/heads/kettlecompanion' }}
uses: JamesIves/github-pages-deploy-action@v4.4.1
uses: JamesIves/github-pages-deploy-action@v4.6.9
with:
branch: gh-pages # The branch the action should deploy to.
folder: build_output/firmware # The folder the action should deploy.
target-folder: devel
clean: false
- name: Deploy Production (if 'kettlecompanion-prod' branch)
if: ${{ github.ref == 'refs/heads/kettlecompanion-prod' }}
uses: JamesIves/github-pages-deploy-action@v4.4.1
uses: JamesIves/github-pages-deploy-action@v4.6.9
with:
branch: gh-pages # The branch the action should deploy to.
folder: build_output/firmware # The folder the action should deploy.
Expand Down Expand Up @@ -365,15 +365,15 @@ jobs:
path: ./build_output/firmware
- name: Deploy Development (if 'kettlecompanion' branch)
if: ${{ github.ref == 'refs/heads/kettlecompanion' }}
uses: JamesIves/github-pages-deploy-action@v4.4.1
uses: JamesIves/github-pages-deploy-action@v4.6.9
with:
branch: gh-pages # The branch the action should deploy to.
folder: build_output/firmware # The folder the action should deploy.
target-folder: devel
clean: false
- name: Deploy Production (if 'kettlecompanion-prod' branch)
if: ${{ github.ref == 'refs/heads/kettlecompanion-prod' }}
uses: JamesIves/github-pages-deploy-action@v4.4.1
uses: JamesIves/github-pages-deploy-action@v4.6.9
with:
branch: gh-pages # The branch the action should deploy to.
folder: build_output/firmware # The folder the action should deploy.
Expand Down Expand Up @@ -414,19 +414,19 @@ jobs:
- name: Store artifacts
uses: actions/upload-artifact@v3.1.2
with:
name: firmware-${{ github.sha }}
name: firmware-kettle-${{ github.sha }}
path: ./build_output/firmware
- name: Deploy Development (if 'kettlecompanion' branch)
if: ${{ github.ref == 'refs/heads/kettlecompanion' }}
uses: JamesIves/github-pages-deploy-action@v4.4.1
uses: JamesIves/github-pages-deploy-action@v4.6.9
with:
branch: gh-pages # The branch the action should deploy to.
folder: build_output/firmware # The folder the action should deploy.
target-folder: devel
clean: false
- name: Deploy Production (if 'kettlecompanion-prod' branch)
if: ${{ github.ref == 'refs/heads/kettlecompanion-prod' }}
uses: JamesIves/github-pages-deploy-action@v4.4.1
uses: JamesIves/github-pages-deploy-action@v4.6.9
with:
branch: gh-pages # The branch the action should deploy to.
folder: build_output/firmware # The folder the action should deploy.
Expand Down

0 comments on commit e012752

Please sign in to comment.