Skip to content

Commit

Permalink
feat: Changed for dephoy to github pages
Browse files Browse the repository at this point in the history
  • Loading branch information
ltlaitoff committed Oct 12, 2023
1 parent 77f8e3b commit a990854
Show file tree
Hide file tree
Showing 4 changed files with 959 additions and 546 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/testing-and-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Project build and deploy

on:
push:
branches: [main]

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/[email protected]
with:
persist-credentials: false

- name: Install
run: npm ci

- name: Build
run: npm run build

- name: Deploy
uses: JamesIves/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.PAGES_TOKEN }}
BRANCH: gh-pages
FOLDER: build
CLEAN: true
Loading

0 comments on commit a990854

Please sign in to comment.