Skip to content

improved auth functionality #45

improved auth functionality

improved auth functionality #45

Workflow file for this run

name: project-x-ci-cd
on:
push:
branches:
- main
jobs:
build_and_test:
runs-on: self-hosted
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setting up Docker
uses: docker/setup-buildx-action@v1
- name: Logging into Docker
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Creating .env file
run: echo "DB_URI=${{ secrets.DB_URI }}" > ./backend/.env
- name: Building and Starting Services
run: docker-compose up --build -d