Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
onx2 committed Jan 16, 2024
1 parent bdf31a1 commit 88caa21
Showing 1 changed file with 16 additions and 17 deletions.
33 changes: 16 additions & 17 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,24 @@
name: Deploy

name: Build and Deploy
on:
push:
branches: [main]
workflow_dispatch:

branches:
- main
permissions:
contents: write
jobs:
build:
build-and-deploy:
concurrency: ci-${{ github.ref }} # Recommended if you intend to make multiple deployments in quick succession.
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: install
run: npm ci
- name: Checkout 🛎️
uses: actions/checkout@v3

- name: build
run: npm run build
- name: Install and Build 🔧 # This example project is built using npm and outputs the result to the 'build' folder. Replace with the commands required to build your project, or remove this step entirely if your site is pre-built.
run: |
npm ci
npm run build
- name: deploy pages
uses: JamesIves/github-pages-deploy-action@v4.4.1
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: dist
folder: dist # The folder the action should deploy.

0 comments on commit 88caa21

Please sign in to comment.