diff --git a/code3.yml b/code3.yml index e429faf..33ba236 100644 --- a/code3.yml +++ b/code3.yml @@ -25,11 +25,61 @@ jobs: mkdir -p site scc . > site/stats.txt - - name: Generate index.html - run: | - echo "
" > site/index.html - cat site/stats.txt >> site/index.html - echo "" >> site/index.html + # înlocuiește pasul anterior cu: +run: | + cat <
This report was automatically generated using SCC via GitHub Actions on your latest commit to the main branch.
+EOF + + cat site/stats.txt >> site/index.html + + cat <+ + + +EOF - name: Deploy to GitHub Pages uses: peaceiris/actions-gh-pages@v3 diff --git a/index.html b/index.html index 49b339f..5b83353 100644 --- a/index.html +++ b/index.html @@ -1,26 +1,50 @@ - +< - -> site/index.html +
Acesta este un test de GitHub Pages cu index.html.
+This report was automatically generated using SCC via GitHub Actions on your latest commit to the main branch.
+ +Put the output of `scc . > stats.txt` here ++ +