Skip to content

Commit

Permalink
Merge pull request #4 from romw314/romw314-patch-1
Browse files Browse the repository at this point in the history
Update static.yml
  • Loading branch information
romw314 authored Nov 14, 2023
2 parents f9e4996 + d2c6aaf commit e5ff6ec
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,13 @@ jobs:
cat index.html pink.html > website/old.html
- name: Setup Node.js
uses: actions/setup-node@v4.0.0
- run: npm install -g markdown-to-html
- run: github-markdown --stylesheet /bashfox/style.css --title 'BashFOX' README.md > website/index.html
- name: Setup Pages
uses: actions/configure-pages@v3
- run: npm install -g markdown-to-html node-inject-html-cli
- run: |
github-markdown --stylesheet /bashfox/style.css --title 'BashFOX' README.md > website/index.html
inject-html -f website/index.html --headEnd "$CF_ANALYTICS"
env:
CF_ANALYTICS: ${{ var.CF_ANALYTICS }}
- uses: actions/configure-pages@v3
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
Expand Down

0 comments on commit e5ff6ec

Please sign in to comment.