Compare commits

..

2 Commits

2 changed files with 3 additions and 35 deletions

View File

@ -2,8 +2,7 @@ version: 2.1
orbs:
node: circleci/node@5.1.0
ssh: credijusto/ssh@0.5.2
jobs:
setup:
docker:
@ -13,6 +12,8 @@ jobs:
fingerprints:
- "47:cf:a1:17:d9:81:8e:c5:51:e5:53:c8:33:e4:33:b9"
- checkout
- ssh/ssh-add-host:
host_url: GITEA_HOST
workflows:
release:
jobs:

View File

@ -1,33 +0,0 @@
name: Release
on:
push:
branches:
- master
- develop
- "develop-*"
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set Repo Origin
run: git remote set-url origin https://git.lumeweb.com/LumeWeb/relay.git
- uses: webfactory/ssh-agent@v0.7.0
with:
ssh-private-key: ${{ secrets.GITEA_SSH_KEY }}
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: "lts/*"
- name: Install dependencies
run: npm ci
- name: Build
run: set -x; npm run build
- name: Release
run: npx semantic-release
env:
CLOUDSMITH_API_KEY: ${{ secrets.CLOUDSMITH_API_KEY }}