Skip to content

Commit

Permalink
Merge pull request #8 from crybot/new-models
Browse files Browse the repository at this point in the history
New models and additional settings
  • Loading branch information
crybot authored May 25, 2024
2 parents b27e42e + 43b61f0 commit 42210f2
Show file tree
Hide file tree
Showing 6 changed files with 3,935 additions and 20 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Release Obsidian plugin

on:
push:
branches: [ master ]
tags:
- "*"

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

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

- name: Build plugin
run: |
npm install
npm run build
- name: Create release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
tag="${GITHUB_REF#refs/tags/}"
gh release create "$tag" \
--title="$tag" \
--draft \
main.js manifest.json styles.css
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ node_modules

# Don't include the compiled main.js file in the repo.
# They should be uploaded to GitHub releases instead.
main.js
# main.js

# Exclude sourcemaps
*.map
Expand Down
Loading

0 comments on commit 42210f2

Please sign in to comment.