-
-
Notifications
You must be signed in to change notification settings - Fork 399
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 2.0.12-alpha-1 * Update github actions * 2.0.12-alpha-2 * rebase with new actions * 2.0.12
- Loading branch information
Showing
7 changed files
with
14 additions
and
13 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
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
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 |
---|---|---|
|
@@ -33,7 +33,7 @@ jobs: | |
issue-number: ${{ github.event.pull_request.number }} | ||
comment-author: "github-actions[bot]" | ||
body-includes: "Preview Deployment" | ||
|
||
- name: Update Comment if exists | ||
if: github.event_name == 'pull_request' && steps.deploy-preview-comment.outputs.comment-id != 0 | ||
uses: peter-evans/[email protected] | ||
|
@@ -57,11 +57,12 @@ jobs: | |
|
||
- name: Copy Static Files | ||
run: | | ||
mkdir -p static/resources/datasheets static/resources/schematics static/resources/pinouts | ||
mkdir -p static/resources/datasheets static/resources/schematics static/resources/pinouts static/resources/models | ||
find ./content/hardware -type f -name "*-schematics.pdf" -exec cp {} ./static/resources/schematics/ \; | ||
find ./content/hardware -type f -name "*-datasheet.pdf" -exec cp {} ./static/resources/datasheets/ \; | ||
find ./content/hardware -type f -name "*-full-pinout.pdf" -exec cp {} ./static/resources/pinouts/ \; | ||
find ./content/hardware -type f -name "*-pinout.png" -exec cp {} ./static/resources/pinouts/ \; | ||
find ./content/hardware -type f -name "*-step.zip" -exec cp {} ./static/resources/models/ \; | ||
- name: Gatsby main cache | ||
uses: actions/cache@v4 | ||
|
@@ -107,7 +108,7 @@ jobs: | |
--auth ${{ secrets.NETLIFY_AUTH_TOKEN }} \ | ||
--json \ | ||
> deploy_output.json | ||
- name: Generate URL Preview | ||
if: github.event_name == 'pull_request' | ||
id: url_preview | ||
|
@@ -124,7 +125,7 @@ jobs: | |
## Preview Deployment | ||
🚀 Preview this PR: ${{ steps.url_preview.outputs.NETLIFY_PREVIEW_URL }} | ||
📍 Commit SHA: ${{ github.sha }} | ||
- name: Update PR Preview Comment | ||
if: github.event_name == 'pull_request' && steps.deploy-preview-comment.outputs.comment-id != 0 | ||
uses: peter-evans/[email protected] | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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