Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
nischalstha9 committed Aug 21, 2024
1 parent c96ff37 commit 10bbc50
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
runs-on: ubuntu-latest
outputs:
BASE64_ENCODED_ENV: ${{ steps.vars_and_secrets_to_b64.outputs.BASE64_ENCODED_ENV }}
environment: ${{ github.ref_name }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down Expand Up @@ -59,11 +60,11 @@ jobs:
env:
VARS_CONTEXT: ${{ toJson(vars) }}
SECRETS_CONTEXT: ${{ toJson(secrets) }}
shell: bash
run: |
cat .env
ENCODED_ENV=$(base64 < .env)
set -e
ENCODED_ENV=$(cat .env | base64 | tr -d '[:space:]')
echo $ENCODED_ENV
echo "ORGANIZATION=HOTOSM" >> $GITHUB_OUTPUT
echo "BASE64_ENCODED_ENV=${ENCODED_ENV}" >> $GITHUB_OUTPUT
frontend-build:
Expand Down

0 comments on commit 10bbc50

Please sign in to comment.