Skip to content

Commit

Permalink
fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
elliotBraem committed Dec 7, 2023
1 parent af78ec7 commit f7ff922
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ on:
required: true
description: "Workspace app name to deploy (from /apps directory)"
type: string
working-directory:
required: false
description: "Relative path to bos-workspace root"
type: string
default: "./"
deploy-account-address:
required: true
description: "Account under which component code should be deployed"
Expand All @@ -40,6 +45,7 @@ jobs:
env:
BOS_DEPLOY_ENV: ${{ inputs.deploy-env }}
BOS_APP_NAME: ${{ inputs.app-name }}
BOS_WORKSPACE_DIRECTORY: ${{ inputs.working-directory }}
BOS_DEPLOY_ACCOUNT_ID: ${{ inputs.deploy-account-address }}
BOS_SIGNER_ACCOUNT_ID: ${{ inputs.signer-account-address }}
BOS_SIGNER_PUBLIC_KEY: ${{ inputs.signer-public-key }}
Expand Down Expand Up @@ -67,6 +73,6 @@ jobs:
bos-workspace build
- name: Deploy widgets
working-directory: ./build/${{ inputs.app-name }}
working-directory: ${{ inputs.working-directory }}/build/${{ inputs.app-name }}
run: |
bos components deploy "$BOS_DEPLOY_ACCOUNT_ID" sign-as "$BOS_SIGNER_ACCOUNT_ID" network-config "$BOS_DEPLOY_ENV" sign-with-plaintext-private-key --signer-public-key "$BOS_SIGNER_PUBLIC_KEY" --signer-private-key "$BOS_SIGNER_PRIVATE_KEY" send

0 comments on commit f7ff922

Please sign in to comment.