Files
Gabriel Kaszewski 368086f9bd
Some checks failed
Build and Deploy Gabriel Kaszewski Portfolio / build-and-deploy-local (push) Failing after 10s
feat: add Dockerfile and deployment configuration; update metadata and project descriptions
2025-09-08 19:24:06 +02:00

23 lines
521 B
YAML

name: Build and Deploy Gabriel Kaszewski Portfolio
on:
push:
branches:
- main
workflow_dispatch:
jobs:
build-and-deploy-local:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Rebuild and Deploy with Docker Compose
run: |
docker build --target release -t local/gabriel-portfolio:latest .
docker compose up -d
# Clean up any old, unused images to save disk space
docker image prune -f