Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions deploy_dbt_project_to_azfs/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,13 @@ inputs:
required: true
description: Destination directory or SAS token

deployment_root:
required: true
description: Root directory in the deployment file structure

runs:
using: "composite"
steps:
- name: Prepare python deployment
shell: bash
run: $GITHUB_ACTION_PATH/deploy_dbt_project_to_azfs.sh
env:
DEPLOYMENT_ROOT: ${{ inputs.deployment_root }}
PROJECT_VERSION: ${{ inputs.project_version }}
PROJECT_NAME: ${{ inputs.project_name }}
DESTINATION: ${{ inputs.destination }}
2 changes: 1 addition & 1 deletion deploy_dbt_project_to_azfs/deploy_dbt_project_to_azfs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

set -Eeuo pipefail

SOURCE_DIRECTORY="./$DEPLOYMENT_ROOT/$PROJECT_NAME/$PROJECT_VERSION/"
SOURCE_DIRECTORY="./$PROJECT_NAME/$PROJECT_VERSION/"
mkdir -p "$SOURCE_DIRECTORY"
mv -v ./target/run/* "$SOURCE_DIRECTORY"

Expand Down