Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
aidmax committed Jan 15, 2024
1 parent f2caaaf commit 156b04c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,11 @@ jobs:
- name: Checkout
uses: actions/checkout@v2

- name: Run structurizr-cli action
- name: Run structurizr-cli action push command
uses: ./
id: test
with:
command: push
id: ${{ secrets.STZR_ID }}
key: ${{ secrets.STZR_API_KEY }}
secret: ${{ secrets.STZR_API_SECRET }}
Expand Down
5 changes: 4 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ branding:
icon: 'copy'
color: 'blue'
inputs:
command:
description: 'The command (required)'
required: true
id:
description: 'The workspace ID (required)'
required: true
Expand Down Expand Up @@ -40,7 +43,7 @@ runs:
using: 'docker'
image: 'docker://ghcr.io/aidmax/structurizr-cli-docker:latest'
args:
- 'push'
- ${{ inputs.command }}
- '-id'
- ${{ inputs.id }}
- '-key'
Expand Down

0 comments on commit 156b04c

Please sign in to comment.