Skip to content

Do not hardcode arguments #70

Do not hardcode arguments

Do not hardcode arguments #70

Workflow file for this run

name: test
on: [push]
jobs:
structurizr-cli:
runs-on: ubuntu-latest
name: Run structurizr-cli
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Run structurizr-cli action push command
uses: ./
id: push
with:
args: |
push
-id ${{ secrets.STZR_ID }}
-key ${{ secrets.STZR_API_KEY }}
-secret ${{ secrets.STZR_API_SECRET }}
-workspace ./tests/workspace.dsl
- name: Run structurizr-cli action pull command
uses: ./
id: pull
with:
args: |
pull
-id ${{ secrets.STZR_ID }}
-key ${{ secrets.STZR_API_KEY }}
-secret ${{ secrets.STZR_API_SECRET }}