Skip to content

Commit

Permalink
update workflow file
Browse files Browse the repository at this point in the history
  • Loading branch information
RealRichi3 committed May 12, 2024
1 parent eefe183 commit 12855a1
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions .github/workflows/build_book.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,27 +47,6 @@ jobs:
echo "SOURCE_DIR=$SOURCE_DIR" >> $GITHUB_ENV
echo "TUTORIALS_DIR=$TUTORIALS_DIR" >> $GITHUB_ENV
read_config:
runs-on: ubuntu-latest
needs: setup
steps:
- name: Extract config variables from config file
id: read_config
run: |
JSON_FILE="$CONFIG_PATH"
JSON_CONTENT=$(cat "$JSON_FILE")
LANGUAGES=$(echo "$JSON_CONTENT" | jq -r '.languages | join(",")')
OUTPUT_DIR=$(echo "$JSON_CONTENT" | jq -r '.outputDirectory')
SOURCE_DIR=$(echo "$JSON_CONTENT" | jq -r '.sourceDirectory')
TUTORIALS_DIR=$(echo "$JSON_CONTENT" | jq -r '.tutorialDirectory')
echo "LANGUAGES=$LANGUAGES" >> $GITHUB_ENV
echo "OUTPUT_DIR=$OUTPUT_DIR" >> $GITHUB_ENV
echo "SOURCE_DIR=$SOURCE_DIR" >> $GITHUB_ENV
echo "TUTORIALS_DIR=$TUTORIALS_DIR" >> $GITHUB_ENV
install_dependencies:
runs-on: ubuntu-latest
needs: [setup, read_config]
Expand Down

0 comments on commit 12855a1

Please sign in to comment.