Skip to content

Commit

Permalink
update deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
PigeonsHouse committed Oct 15, 2023
1 parent b658256 commit cbfe6ce
Show file tree
Hide file tree
Showing 8 changed files with 37 additions and 97 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Build and Deploy
on:
workflow_dispatch:
branches:
- main
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Set Node.js
uses: actions/setup-node@v3
with:
node-version: 18

- name: Install packages
uses: borales/actions-yarn@v4
with:
cmd: install

- name: Build
uses: borales/actions-yarn@v4
with:
cmd: build

- name: Deploy
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
BRANCH: gh-pages
FOLDER: dist
CNAME: logo-gen.compositecomputer.club
1 change: 0 additions & 1 deletion docs/CNAME

This file was deleted.

40 changes: 0 additions & 40 deletions docs/assets/index-45be9400.js

This file was deleted.

1 change: 0 additions & 1 deletion docs/assets/index-9e30ba2a.css

This file was deleted.

17 changes: 0 additions & 17 deletions docs/base_logo.svg

This file was deleted.

22 changes: 0 additions & 22 deletions docs/favicon.svg

This file was deleted.

15 changes: 0 additions & 15 deletions docs/index.html

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build && cp -r dist docs",
"build": "vite build",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"preview": "vite preview",
"rebuild": "vite build && rm -R docs && cp -r dist docs"
Expand Down

0 comments on commit cbfe6ce

Please sign in to comment.