1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-19 23:22:16 +03:00

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
This commit is contained in:
david gauchard 2021-07-26 23:47:38 +02:00 committed by GitHub
parent 14c3798d4f
commit 7af58608d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -36,6 +36,10 @@ jobs:
run:
shell: bash
steps:
- uses: actions/checkout@v2
with:
submodules: false
fetch-depth: 0
- name: Deploy updated JSON
run: |
bash ./package/deploy_package_index.sh

View File

@ -16,7 +16,7 @@ pushd esp8266.github.io
# Copy from published release, ensure JSON valid
rm -f stable/package_esp8266com_index.json
wget "https://github.com/esp8266/Arduino/releases/download/$tag/package_esp8266com_index.json" -O stable/package_esp8266com_index.json
wget "https://github.com/esp8266/Arduino/releases/download/"$tag"/package_esp8266com_index.json" -O stable/package_esp8266com_index.json
cat stable/package_esp8266com_index.json | jq empty
git add stable/package_esp8266com_index.json