Skip to content

Commit

Permalink
Add CI
Browse files Browse the repository at this point in the history
  • Loading branch information
shiro committed Mar 27, 2024
1 parent 9a87cf7 commit 49e4b88
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# These are supported funding model platforms

github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
patreon: # Replace with a single Patreon username
open_collective: # Replace with a single Open Collective username
ko_fi: "shiroi_usagi"
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
custom: # ["https://ko-fi.com/shiroi_usagi"]
39 changes: 39 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Build package

on:
push:
branches: [ master ]
tags: [ '*' ]
pull_request:
workflow_dispatch:

permissions:
contents: write
pages: write
id-token: write


jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Git checkout
uses: actions/checkout@v3
- name: install
run: yarn --frozen-lockfile

- name: build
run: yarn build
env:
BASE_PATH: /my-app/

- name: create .nojekyll
run: touch .output/public/.nojekyll

- name: deploy pages
uses: JamesIves/github-pages-deploy-action@v4.5.0
with:
branch: master
folder: .output/public

0 comments on commit 49e4b88

Please sign in to comment.