feat: initial version

This commit is contained in:
Derrick Hammer 2023-06-24 19:41:57 -04:00
parent 46819c6a3f
commit 6e4ad001a5
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
5 changed files with 45 additions and 2 deletions

11
@orb.yml Normal file
View File

@ -0,0 +1,11 @@
version: 2.1
description: >
Default Node CI Deploy Configuration for Lume Web repos
# What will your orb allow users to accomplish?
# Descriptions should be short, simple, and informative.
# If your orb requires other orbs, you can import them like this. Otherwise remove the "orbs" stanza.
orbs:
node: circleci/node@5.1.0
ssh: credijusto/ssh@0.5.2

View File

@ -1,6 +1,6 @@
MIT License
Copyright (c) <year> <copyright holders>
Copyright (c) 2023 Hammer Technologies LLC
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

View File

@ -1,2 +1,2 @@
# circleci-deploy-orb
# circleci-deploy-node-orb

9
commands/build.yml Normal file
View File

@ -0,0 +1,9 @@
steps:
- node/run:
name: Build
npm-run: build
post-steps:
- persist_to_workspace:
root: .
paths:
- lib/

23
commands/publish.yml Normal file
View File

@ -0,0 +1,23 @@
steps:
- node/run:
name: Publish
npm-run: semantic-release
requires:
- build
filters:
branches:
only:
- master
- develop
- /^develop-.*$/
context:
- publish
setup:
- attach_workspace:
at: ./
- add_ssh_keys:
fingerprints:
- "47:cf:a1:17:d9:81:8e:c5:51:e5:53:c8:33:e4:33:b9"
- ssh/ssh-add-host:
host_url: GITEA_HOST