-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a96b3e2
commit d9c5c42
Showing
2 changed files
with
11 additions
and
4 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,6 +17,7 @@ jobs: | |
outputs: | ||
matrix_all_projects: ${{ steps.projects.outputs.matrix_all_projects }} | ||
matrix_modified_projects: ${{ steps.projects.outputs.matrix_modified_projects }} | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
@@ -66,6 +67,8 @@ jobs: | |
fail-fast: false | ||
matrix: | ||
include: ${{ fromJson(needs.setup.outputs.matrix_modified_projects) }} | ||
outputs: | ||
artifact_name: ${{ steps.build.outputs.artifact_name }} | ||
|
||
steps: | ||
- name: Checkout repository | ||
|
@@ -83,15 +86,15 @@ jobs: | |
tags: tag:ci | ||
|
||
- name: Download artifact | ||
uses: actions/download-artifact@v2 | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: build-Demo-Blink-cli-31324e8 | ||
name: ${{ needs.build-modified-projects.outputs.artifact_name }} | ||
|
||
- name: Deploy to Raspberry Pi | ||
run: | | ||
scp -r build-Demo-Blink-cli-31324e8 [email protected]: | ||
scp -r ${{ needs.build-modified-projects.outputs.artifact_name }} [email protected]: | ||
- name: Verify deployment | ||
run: | | ||
ssh [email protected] | ||
ls build-Demo-Blink-cli-31324e8 | ||
ls build-Demo-Blink-cli-31324e8 |