Skip to content
This repository has been archived by the owner on Apr 6, 2024. It is now read-only.

Merge pull request #42 from louis-antoine-etsmtl/melanie_ite3 #8

Merge pull request #42 from louis-antoine-etsmtl/melanie_ite3

Merge pull request #42 from louis-antoine-etsmtl/melanie_ite3 #8

name: Deploy Frontend
on:
push:
branches:
- main
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Log in to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push Docker image for Frontend
uses: docker/build-push-action@v2
with:
context: .
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/${{ secrets.DOCKERHUB_REPO }}:latest