Updating Action

This commit is contained in:
John Parkhurst 2026-03-20 23:29:50 -04:00
parent 80c81e488a
commit 5da66383d8
3 changed files with 5 additions and 5 deletions

View file

@ -10,12 +10,12 @@ on:
- synchronize
- ready_for_review
paths:
- web/**
- /**
push:
branches:
- main
paths:
- web/**
- /**
jobs:
determine-workflow:
runs-on: 'ubuntu-latest'
@ -49,7 +49,7 @@ jobs:
id: version
shell: bash
run: |
version=$(jq -r '.version' web/package.json)
version=$(jq -r '.version' package.json)
echo "current_version=$version" >> "$GITHUB_OUTPUT"
nonprod-deploy:
needs: determine-workflow

View file

@ -90,7 +90,7 @@ jobs:
username: ${{ secrets.DOCKERHUB_USER }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Docker Build Backend
run: docker build -f web/Dockerfile -t john4064/matchmaking:latest_web ./web --build-arg ENVIRONMENT=dev
run: docker build -f Dockerfile -t john4064/matchmaking:latest_web ./web --build-arg ENVIRONMENT=dev
- name: Docker Push Backend
run: docker push john4064/matchmaking:latest_web
# deploy:

View file

@ -90,7 +90,7 @@ jobs:
username: ${{ secrets.DOCKERHUB_USER }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Docker Build Backend
run: docker build -f web/Dockerfile -t john4064/matchmaking:prod_web ./web --build-arg ENVIRONMENT=prod
run: docker build -f Dockerfile -t john4064/matchmaking:prod_web ./web --build-arg ENVIRONMENT=prod
- name: Docker Push Backend
run: docker push john4064/matchmaking:prod_web
# deploy: