Skip to content

Commit

Permalink
wip: Refactor CI to use GitHub actions and generic bash scripts #7
Browse files Browse the repository at this point in the history
  • Loading branch information
cnouguier committed Apr 24, 2024
1 parent 09340a4 commit 2f54b29
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ jobs:
- name: Build theme
env:
SOPS_AGE_KEY: ${{ secrets.SOPS_AGE_KEY }}
run: bash ./scripts/build.sh -p -r ${{ github.job }}
run: bash ./scripts/build_container.sh -p -r ${{ github.job }}
4 changes: 1 addition & 3 deletions scripts/build.sh → scripts/build_container.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,7 @@ done
##

WORKSPACE_DIR="$(dirname "$ROOT_DIR")"
GIT_TAG=get_git_tag

echo "About to build theme..."
GIT_TAG=GIT_TAG=$(get_git_tag "$REPO_ROOT")

load_env_files "$WORKSPACE_DIR/development/common/kalisio_dockerhub.enc.env" "$WORKSPACE_DIR/development/common/SLACK_WEBHOOK_SERVICES.enc.env"
load_value_files "$WORKSPACE_DIR/development/common/KALISIO_DOCKERHUB_PASSWORD.enc.value"
Expand Down

0 comments on commit 2f54b29

Please sign in to comment.