Skip to content

Commit

Permalink
deploy on github pages
Browse files Browse the repository at this point in the history
  • Loading branch information
ocruze committed Aug 24, 2023
1 parent 5250056 commit 95cfbbf
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 19 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/build-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Build & Deploy

on:
push:
branches: [main]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

permissions:
contents: write

jobs:
build-and-deploy:
concurrency: ci-${{ github.ref }} # Recommended if you intend to make multiple deployments in quick succession.
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3

- name: Install and Build 🔧
run: |
yarn install
yarn build
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: dist
19 changes: 0 additions & 19 deletions .github/workflows/deploy.yml

This file was deleted.

0 comments on commit 95cfbbf

Please sign in to comment.