Skip to content

Commit

Permalink
Create hosty Github action
Browse files Browse the repository at this point in the history
  • Loading branch information
webNeat committed Sep 11, 2024
1 parent c52d337 commit 5f6d296
Show file tree
Hide file tree
Showing 14 changed files with 27,551 additions and 16 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/[email protected]
- uses: actions/setup-node@v4
- uses: ./.
with:
node-version: 22
cache: 'pnpm'
- run: pnpm install --frozen-lockfile
- run: pnpm run --filter hosty-action build
- run: pnpm run --filter hosty-action test
server: |
name: foo
connection:
type: ssh
user: linux
13 changes: 13 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Hosty
description: Automate your deployments with ease
inputs:
server:
description: The target server for deployments
required: true
deploy:
description: The services to deploy
destroy:
description: The services to destroy
runs:
using: node16
main: packages/hosty-action/dist/index.js
1 change: 1 addition & 0 deletions packages/hosty-action/dist/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export {};
1 change: 1 addition & 0 deletions packages/hosty-action/dist/index.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 5f6d296

Please sign in to comment.