Skip to content

Commit

Permalink
Feature: Added in deployment of the website
Browse files Browse the repository at this point in the history
Changes:
- Build the page
- Put the artifacts onto gh-pages branch
  • Loading branch information
DennisJensen95 committed Jul 31, 2023
1 parent e3d9e1e commit e399423
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: CI/CD

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: npm install
- name: Build
run: npm run build
- name: Deploy
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: build

0 comments on commit e399423

Please sign in to comment.