Skip to content

Commit

Permalink
Compile markdown to html
Browse files Browse the repository at this point in the history
  • Loading branch information
osamajandali committed Sep 20, 2023
1 parent e9a24ae commit f1f27a0
Show file tree
Hide file tree
Showing 8 changed files with 2,938 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Deploy to GitHub Pages

on:
push:
branches:
- main
- webpage

jobs:
build-and-deploy:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Switch to the webpage branch and pull latest changes from main
run: |
git checkout webpage
git pull origin main
- name: Install Node.js
uses: actions/setup-node@v2
with:
node-version: '18'

- name: Install dependencies and build
run: |
npm install
npm run build
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
Loading

0 comments on commit f1f27a0

Please sign in to comment.