Skip to content

Commit 7af5860

Browse files
authored
add missing git-clone to the deploy step in the release process (#8243)
* add missing git-clone to the deploy step in the release process
1 parent 14c3798 commit 7af5860

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/release-to-publish.yml

+4
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ jobs:
3636
run:
3737
shell: bash
3838
steps:
39+
- uses: actions/checkout@v2
40+
with:
41+
submodules: false
42+
fetch-depth: 0
3943
- name: Deploy updated JSON
4044
run: |
4145
bash ./package/deploy_package_index.sh

package/deploy_package_index.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ pushd esp8266.github.io
1616

1717
# Copy from published release, ensure JSON valid
1818
rm -f stable/package_esp8266com_index.json
19-
wget "https://github.com/esp8266/Arduino/releases/download/$tag/package_esp8266com_index.json" -O stable/package_esp8266com_index.json
19+
wget "https://github.com/esp8266/Arduino/releases/download/"$tag"/package_esp8266com_index.json" -O stable/package_esp8266com_index.json
2020
cat stable/package_esp8266com_index.json | jq empty
2121

2222
git add stable/package_esp8266com_index.json

0 commit comments

Comments
 (0)