Skip to content

chore: add CI/CD workflows and Docker support for frontend & WebSocket #3

chore: add CI/CD workflows and Docker support for frontend & WebSocket

chore: add CI/CD workflows and Docker support for frontend & WebSocket #3

Workflow file for this run

name: Deploy the frontend
on:
push:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout the code
uses: actions/checkout@v2
- name: Docker login
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push
uses: docker/build-push-action@v4
with:
context: .
file: ./docker/Dockerfile.frontend
build-args:
- DATABASE_URL=${{ secrets.DATABASE_URL }}

Check failure on line 24 in .github/workflows/cd_frontend.yml

View workflow run for this annotation

GitHub Actions / Deploy the frontend

Invalid workflow file

The workflow is not valid. .github/workflows/cd_frontend.yml (Line: 24, Col: 13): A sequence was not expected
push: true
tags: coderomm/collabydraw:${{ github.sha }}
## Step to deploy this to a VM