Skip to content

Commit

Permalink
chore: add git actions
Browse files Browse the repository at this point in the history
  • Loading branch information
yuanyxh committed Sep 11, 2023
1 parent 012ab72 commit 9d5cd8a
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Build and Deploy
on:
push:
branches:
- dev
permissions:
contents: write
jobs:
build-and-deploy:
concurrency: ci-${{ github.ref }}
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3

- name: Install and Build 🔧
run: |
npm ci
npm run build
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: deploy
folder: build

0 comments on commit 9d5cd8a

Please sign in to comment.