Skip to content
This repository has been archived by the owner on Jul 29, 2024. It is now read-only.

Commit

Permalink
setup basic action
Browse files Browse the repository at this point in the history
  • Loading branch information
AminYacine committed Sep 11, 2023
1 parent 48f00f6 commit 9950552
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
FROM ubuntu:latest

COPY entrypoint.sh /entrypoint.sh

ENTRYPOINT [ "/entrypoint.sh" ]
18 changes: 18 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: "miranum-cli-action"
description: "Use the miranum cli and deploy your artefacts to your application."
author: "Amin Yacine"

inputs:
project-directory:
description: 'directory of project files'
required: true
default: '.'
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ iputs.project-directory }}

branding:
icon: 'activity'
color: 'blue'
4 changes: 4 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh -l

docker pull miragon/process-ide-cli
docker run miragon/process-ide-cli node main.js deploy -d example/ -t local

0 comments on commit 9950552

Please sign in to comment.