Skip to content

Commit

Permalink
fix(deploy-app.yaml): ensure directory for KUBECTL_CONFIG is created …
Browse files Browse the repository at this point in the history
…before use

The change ensures that the directory where the KUBECTL_CONFIG file is supposed to be located is created beforehand. This prevents potential issues where the configuration file cannot be written due to the absence of its directory, thus improving the reliability of the deployment process.
  • Loading branch information
cybersiddhu committed Jun 28, 2024
1 parent 63b4c65 commit 514881a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
steps:
- name: manage paths
run: |
mkdir -p $ACTION_BIN_PATH $DAGGER_BIN_PATH $DAGGER_CHECKSUM_PATH $KUBECTL_CONFIG
mkdir -p $ACTION_BIN_PATH $DAGGER_BIN_PATH $DAGGER_CHECKSUM_PATH $(dirname $KUBECTL_CONFIG)
echo $ACTION_BIN_PATH >> $GITHUB_PATH
echo $DAGGER_BIN_PATH >> $GITHUB_PATH
Expand Down

0 comments on commit 514881a

Please sign in to comment.