Skip to content

Commit

Permalink
corrijo CI process
Browse files Browse the repository at this point in the history
  • Loading branch information
mpvaldez committed Oct 25, 2024
1 parent f268721 commit 3e24b65
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,12 @@ jobs:
string: ${{ github.repository }}
- name: Agregar envs
run: |
if [[ "${GITHUB_REF#refs/tags/}" == "latest" ]]; then
echo "${{ secrets.ENV_PRODUCTION }}" > .env.local
else
if [[ "${GITHUB_REF#refs/tags/}" == *"beta"* ]]; then
echo "${{ secrets.ENV_STAGING }}" > .env.local
else
echo "${{ secrets.ENV_PRODUCTION }}" > .env.local
fi
- name: Build & Push docker image
uses: mr-smithers-excellent/docker-build-push@v4
with:
Expand Down

0 comments on commit 3e24b65

Please sign in to comment.