Initial website deployment
All checks were successful
Deploy Website / build-and-deploy (push) Successful in 1m44s

This commit is contained in:
Akshay Kolli
2026-07-02 00:28:25 -07:00
commit e240b99cb2
66 changed files with 2774 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
name: Deploy Website
on:
push:
branches:
- main
- master
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Build Docker image
run: |
docker build --pull -t akkolli-website:latest .
- name: Stop existing container
run: |
docker stop website-container || true
docker rm website-container || true
- name: Run new container
run: |
docker run -d \
--name website-container \
--restart unless-stopped \
-p 8080:80 \
akkolli-website:latest