Compare commits
2 Commits
e317a3209d
...
382761e484
Author | SHA1 | Date |
---|---|---|
Derrick Hammer | 382761e484 | |
Derrick Hammer | 188f7986b6 |
|
@ -2,8 +2,7 @@ version: 2.1
|
||||||
|
|
||||||
orbs:
|
orbs:
|
||||||
node: circleci/node@5.1.0
|
node: circleci/node@5.1.0
|
||||||
|
ssh: credijusto/ssh@0.5.2
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
setup:
|
setup:
|
||||||
docker:
|
docker:
|
||||||
|
@ -13,6 +12,8 @@ jobs:
|
||||||
fingerprints:
|
fingerprints:
|
||||||
- "47:cf:a1:17:d9:81:8e:c5:51:e5:53:c8:33:e4:33:b9"
|
- "47:cf:a1:17:d9:81:8e:c5:51:e5:53:c8:33:e4:33:b9"
|
||||||
- checkout
|
- checkout
|
||||||
|
- ssh/ssh-add-host:
|
||||||
|
host_url: GITEA_HOST
|
||||||
workflows:
|
workflows:
|
||||||
release:
|
release:
|
||||||
jobs:
|
jobs:
|
||||||
|
|
|
@ -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 }}
|
|
Loading…
Reference in New Issue