Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add optional base path #39

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

odama626
Copy link

@odama626 odama626 commented Apr 2, 2024

No description provided.

@@ -8,7 +8,7 @@ set -e
DEPLOY_REPO_URL="${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}"
echo "DEPLOY_REPO_URL=${DEPLOY_REPO_URL}" >> "${GITHUB_ENV}"

ENV_DIR="env/${ENV}"
ENV_DIR="${BASE_PATH}env/${ENV}"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs a slash here

@highb
Copy link
Contributor

highb commented Apr 3, 2024

I don't recall why, but the ENV_DIR is used as part of the ENV_BRANCH on line 14 in setup-shared-env.sh and branches can't have dots in them. So... you'll probably want to set the default base-path to an empty string.

@highb
Copy link
Contributor

highb commented Apr 3, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants