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 "Code Stats

Code Statistics

" > site/index.html
-          cat site/stats.txt >> site/index.html
-          echo "
" >> site/index.html + # înlocuiește pasul anterior cu: +run: | + cat < site/index.html + + + + + + Code Statistics – GitHub Actions + SCC + + + + +

📊 Code Statistics Report

+

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 <> site/index.html
+  
+ + + +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 @@ - +< - - Test GitHub Pages + + Code Statistics – GitHub Actions + SCC + -

Site-ul funcționează! ✅

-

Acesta este un test de GitHub Pages cu index.html.

+

📊 Code Statistics Report

+

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
+  
+ +