Skip to content

Commit

Permalink
remove envsubst
Browse files Browse the repository at this point in the history
  • Loading branch information
suenot authored Mar 24, 2024
1 parent 2237c51 commit cd87b1c
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions .github/workflows/server-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@ jobs:
run: |
sudo apt install -y git curl
- name: Install envsubst
run: |
sudo apt-get install -y gettext-base
- name: Install Node Version Manager (NVM)
run: |
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
Expand Down Expand Up @@ -59,30 +55,8 @@ jobs:
export DEEP_MINIO_UI_PORT="9000"
export DEEP_MINIO_PORT_HOST="32765"
export DEEP_MINIO_PORT="32765"
export NODE_VERSION=$(node -v)
export DEEPPLINKS_DOCKER_COMPOSE_PORTS_MULTIPLE="/root/.nvm/versions/node/$NODE_VERSION/lib/node_modules/@deep-foundation/deeplinks/local/docker-compose.ports-multiple.yml"
export DEEPPLINKS_DOCKER_COMPOSE="/root/.nvm/versions/node/$NODE_VERSION/lib/node_modules/@deep-foundation/deeplinks/local/docker-compose.yml"
export HASURA_DOCKER_COMPOSE="/root/.nvm/versions/node/$NODE_VERSION/lib/node_modules/@deep-foundation/deeplinks/node_modules/@deep-foundation/hasura/local/docker-compose.yml"
echo $DEEPPLINKS_DOCKER_COMPOSE_PORTS_MULTIPLE
echo $DEEPPLINKS_DOCKER_COMPOSE
echo HASURA_DOCKER_COMPOSE
sudo cat $DEEPPLINKS_DOCKER_COMPOSE_PORTS_MULTIPLE
- name: Show files
run: |
ls -la
cd ./docker-prod
ls -la
cd deep
ls -la
cat docker-compose.yml
cd ../..
- name: Set additional environment variables with envsubst
run: |
sudo envsubst '${DEEPLINKS_PORTS}' < $DEEPPLINKS_DOCKER_COMPOSE_PORTS_MULTIPLE > _deeplinks.docker-compose.temp.yml
sudo mv _deeplinks.docker-compose $DEEPPLINKS_DOCKER_COMPOSE
ls -la
- name: Allow ports 3006 and 3007
run: |
Expand Down

0 comments on commit cd87b1c

Please sign in to comment.