Skip to content

Commit

Permalink
Merge pull request #1341 from yogeshojha/yogeshojha-patch-1
Browse files Browse the repository at this point in the history
Update and rename main.yml to github-pages-deploy.yml
  • Loading branch information
yogeshojha authored Jul 30, 2024
2 parents 9550c0a + 9390733 commit a143a64
Showing 1 changed file with 7 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,17 @@ jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Checkout repository
uses: actions/checkout@v3

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '14'

- name: Install dependencies
run: npm install -g markdown-to-html

- name: Convert README to HTML
run: markdown README.md > index.html


- name: Copy README to index.md
run: cp README.md index.md

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
Expand Down

0 comments on commit a143a64

Please sign in to comment.