Commit a3e9394 1 parent 3bb71b1 commit a3e9394 Copy full SHA for a3e9394
File tree 2 files changed +6
-16
lines changed
2 files changed +6
-16
lines changed Original file line number Diff line number Diff line change 16
16
type :
17
17
type : string
18
18
required : false
19
- CLOUD_URL :
20
- type : string
21
- required : false
22
- CLOUD_PASSWORD :
23
- type : string
24
- required : false
25
19
26
20
jobs :
27
21
deploy :
@@ -87,11 +81,11 @@ jobs:
87
81
- name : Upload to Nextcloud
88
82
run : |
89
83
BASE_URL="https://cloud.3mdeb.com/public.php/webdav"
90
- url_part=$(echo "${{ inputs .CLOUD_URL }}" | cut -d'/' -f6)
84
+ url_part=$(echo "${{ secrets .CLOUD_URL }}" | cut -d'/' -f6)
91
85
base_dir="${{ steps.parse_directories.outputs.base_dir }}"
92
86
model="${{ steps.parse_directories.outputs.model }}"
93
87
release="${{ steps.parse_directories.outputs.release }}"
94
- CURL_CMD="curl -u $url_part:${{ inputs .CLOUD_PASSWORD }}"
88
+ CURL_CMD="curl -u $url_part:${{ secrets .CLOUD_PASSWORD }}"
95
89
96
90
if [ "${{ inputs.platform }}" == "protectli" ]; then
97
91
new_name=$(echo "${{ inputs.vendor }}-${{ inputs.model }}.rom" | sed 's/-/_/g; s/.*/\L&/')
Original file line number Diff line number Diff line change 12
12
platform : protectli
13
13
vendor : ${{ matrix.vendor }}
14
14
model : ${{ matrix.model }}
15
- CLOUD_URL : ${{ secrets.CLOUD_URL }}
16
- CLOUD_PASSWORD : ${{ secrets.CLOUD_PASSWORD }}
15
+ secrets : inherit
17
16
strategy :
18
17
matrix :
19
18
vendor : [ protectli ]
24
23
uses : ./.github/workflows/deploy-template.yml
25
24
with :
26
25
platform : novacustom
27
- CLOUD_URL : ${{ secrets.CLOUD_URL }}
28
- CLOUD_PASSWORD : ${{ secrets.CLOUD_PASSWORD }}
26
+ secrets : inherit
29
27
30
28
deploy_pcengines :
31
29
if : contains(github.ref, 'refs/tags/pcengines')
35
33
vendor : ${{ matrix.vendor }}
36
34
model : ${{ matrix.model }}
37
35
payload : ${{ matrix.payload }}
38
- CLOUD_URL : ${{ secrets.CLOUD_URL }}
39
- CLOUD_PASSWORD : ${{ secrets.CLOUD_PASSWORD }}
36
+ secrets : inherit
40
37
strategy :
41
38
matrix :
42
39
vendor : [ pcengines ]
49
46
with :
50
47
platform : msi
51
48
type : ${{ matrix.type }}
52
- CLOUD_URL : ${{ secrets.CLOUD_URL }}
53
- CLOUD_PASSWORD : ${{ secrets.CLOUD_PASSWORD }}
49
+ secrets : inherit
54
50
strategy :
55
51
matrix :
56
52
type : [ ddr4, ddr5 ]
You can’t perform that action at this time.
0 commit comments