-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into feature/ditch-arduino-serial
- Loading branch information
Showing
135 changed files
with
6,854 additions
and
6,838 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,20 @@ | ||
name: cdn-prepare | ||
description: Prepares the CDN for firmware uploads | ||
description: Bunny sshpass and knowhosts setup | ||
inputs: | ||
cf-account-id: | ||
description: Cloudflare Account ID | ||
required: true | ||
cf-access-key-id: | ||
description: Cloudflare Access Key ID | ||
required: true | ||
cf-secret-access-key: | ||
description: Cloudflare Secret Access Key | ||
bunny-ssh-knownhosts: | ||
description: Bunny SFTP Hostname | ||
required: true | ||
|
||
runs: | ||
using: composite | ||
steps: | ||
- name: Install rclone | ||
- name: Install sshpass | ||
shell: bash | ||
run: sudo apt-get install -y rclone | ||
run: sudo apt-get install -y sshpass | ||
|
||
- name: Configure rclone | ||
- name: Configure known hosts | ||
shell: bash | ||
run: | | ||
mkdir -p ~/.config/rclone/ | ||
conf=~/.config/rclone/rclone.conf | ||
echo "[cdn]" >> $conf | ||
echo "type = s3" >> $conf | ||
echo "provider = Cloudflare" >> $conf | ||
echo "access_key_id = ${{ inputs.cf-access-key-id }}" >> $conf | ||
echo "secret_access_key = ${{ inputs.cf-secret-access-key }}" >> $conf | ||
echo "endpoint = https://${{ inputs.cf-account-id }}.r2.cloudflarestorage.com" >> $conf | ||
echo "acl = public-read" >> $conf | ||
mkdir -p ~/.ssh | ||
echo "${{ inputs.bunny-ssh-knownhosts }}" >> ~/.ssh/known_hosts | ||
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
Oops, something went wrong.
5379918
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cpp-Linter Report⚠️
Some files did not pass the configured checks!
clang-format (v18.1.8) reports: 4 file(s) not formatted
Have any feedback or feature suggestions? Share it here.