Skip to content

Commit

Permalink
Deploy to package branch
Browse files Browse the repository at this point in the history
hopefully this works
  • Loading branch information
ChiriVulpes committed Sep 28, 2024
1 parent 26f3382 commit 6184050
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 1 deletion.
33 changes: 33 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: CI

on:
push:
branches: [ main ]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Setup Node.js environment
uses: actions/[email protected]

- name: Install dependencies
run: npm install

- name: Build
run: npm run build

- name: Deploy
uses: s0/[email protected]
env:
REPO: self
BRANCH: package
FOLDER: build
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
MESSAGE: "Deploy {sha}:\n{msg}"
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"types": "out/chiri.d.ts",
"scripts": {
"play": "node tsc2.js && concurrently --prefix none \"node tsc2.js --watch\" \"chiri playground -w\"",
"watch": "node tsc2.js --watch"
"watch": "node tsc2.js --watch",
"build": "node tsc2.js"
},
"dependencies": {
"source-map": "0.7.4",
Expand Down

0 comments on commit 6184050

Please sign in to comment.