EvalueTonSavoir/.github/workflows/frontend-deploy.yml
2024-04-05 16:01:17 -04:00

22 lines
476 B
YAML

name: Build and Deploy Frontend
on:
push:
branches:
- pipeline
paths:
- 'client/**'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build and push Docker image for Frontend
uses: docker/build-push-action@v2
with:
context: ./client
file: ./client/Dockerfile
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/${{ secrets.DOCKERHUB_FRONTEND_REPO }}:latest