Merge branch 'main' of https://github.com/community-scripts/ProxmoxVED
This commit is contained in:
commit
8e55c6e14d
6
.github/workflows/get-versions-from-gh.yaml
vendored
6
.github/workflows/get-versions-from-gh.yaml
vendored
@ -32,8 +32,10 @@ jobs:
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: |
|
||||
chmod +x scripts/get-gh-release.sh
|
||||
scripts/get-gh-release.sh
|
||||
ls
|
||||
|
||||
chmod +x .github/workflows/scripts/get-gh-release.sh
|
||||
.github/workflows/scripts/get-gh-release.sh
|
||||
|
||||
- name: Commit JSON
|
||||
env:
|
||||
|
6
.github/workflows/scripts/get-gh-release.sh
vendored
6
.github/workflows/scripts/get-gh-release.sh
vendored
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
INPUT_FILE="repos.txt"
|
||||
OUTPUT_FILE="../../public/frontend/versions.json"
|
||||
INPUT_FILE=".github/workflows/scripts/repos.txt"
|
||||
OUTPUT_FILE="frontend/public/json/versions.json"
|
||||
TMP_FILE="releases_tmp.json"
|
||||
|
||||
if [ -f "$OUTPUT_FILE" ]; then
|
||||
@ -36,4 +36,4 @@ while IFS= read -r repo; do
|
||||
|
||||
done < "$INPUT_FILE"
|
||||
|
||||
mv "$TMP_FILE" "$OUTPUT_FILE"
|
||||
#mv "$TMP_FILE" "$OUTPUT_FILE"
|
||||
|
Loading…
x
Reference in New Issue
Block a user