Skip to content

Commit

Permalink
fix code
Browse files Browse the repository at this point in the history
  • Loading branch information
killers78 committed Mar 14, 2024
1 parent 667fa84 commit 981b961
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions .github/workflows/mdToHTML.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,16 @@ jobs:
run: |
mkdir -p www-temp
find platforms -type f -name \*.html | while read a; do mv $a ./www-temp/; done
# Adding HTML CSS Header
- name: Adding HTML CSS Header
run: |
cd www-temp
mkdir css
cp ./src/css/*.html www-temp/css
cp ./src/css/*.css www-temp/
ls -1 | while read i; do cp css/header.html tmp.html; cat $i >> tmp.html; mv tmp.html $i; rm -f tmp.html; done
ls -1 | while read i; do echo "-----------------"; cat $i; done
# Setting up Git user to commit to the gh-pages branch
- name: Configure Git User
Expand All @@ -47,14 +57,6 @@ jobs:
keep_files: false


# Adding HTML CSS Header
- name: Adding HTML CSS Header
run: |
cd www-temp
mkdir css
cp ./src/css/*.html www-temp/css
cp ./src/css/*.css www-temp/
ls -1 | while read i; do cp css/header.html tmp.html; cat $i >> tmp.html; mv tmp.html $i; rm -f tmp.html; done
ls -1 | while read i; do echo "-----------------"; cat $i; done



0 comments on commit 981b961

Please sign in to comment.