Skip to content

Commit

Permalink
fix cicd
Browse files Browse the repository at this point in the history
  • Loading branch information
sevenzing committed Sep 4, 2024
1 parent e128563 commit dbff8f3
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 917 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,12 @@ jobs:
while IFS= read -r file; do
dir=$(dirname "$file")
cp utils/default_swagger_index_page.html "$dir/index.html"
echo -e "$version\n$(cat $dir/hosted_versions.txt)" > "$dir/hosted_versions.txt"
version=$(basename "$dir")
parent_dir=$(dirname "$dir")
echo "Parent dir: $parent_dir"
echo "$version" > "$parent_dir/hosted_versions.txt"
done < new_swagger_files.txt
rm new_swagger_files.txt
- name: Commit and push changes
run: |
Expand Down
2 changes: 0 additions & 2 deletions services/smart-contract-verifier/b6b9dcf8/hosted_versions.txt

This file was deleted.

19 changes: 0 additions & 19 deletions services/smart-contract-verifier/b6b9dcf8/index.html

This file was deleted.

Loading

0 comments on commit dbff8f3

Please sign in to comment.