commit 56b2574e5ab9860960d814c9a890d0a257ccda98 Author: koneko <67551503+koneko@users.noreply.github.com> Date: Sat Aug 2 20:53:18 2025 +0200 initial diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml new file mode 100644 index 0000000..0b59969 --- /dev/null +++ b/.gitea/workflows/deploy.yml @@ -0,0 +1,38 @@ +name: Build and Deploy koneko.rocks + +on: + push: + branches: + - main + +jobs: + build-and-deploy: + steps: + - name: Checkout code + uses: actions/checkout@v3 + + - name: Verify Docker access + run: | + echo "Checking Docker access from container..." + docker version + docker compose version + + # use this as template if you need to build + #- name: Build project + # run: | + # echo "Running build..." + # ./build.sh + + - name: Store artifact + run: | + echo "Storing artifact..." + mkdir -p /opt/artifacts/koneko-static-site + cp -r . /opt/artifacts/koneko-static-site/ + + - name: Deploy with Docker Compose + run: | + echo "Deploying with docker-compose..." + cd /opt/artifacts/koneko-static-site + docker compose down + docker compose up -d --build + diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..aca5445 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,3 @@ +FROM nginx:alpine +COPY index.html /usr/share/nginx/html/index.html +COPY tower-fall.svg /usr/share/nginx/html/tower-fall.svg diff --git a/README.md b/README.md new file mode 100644 index 0000000..e69de29 diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..84b043e --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,9 @@ +services: + web: + container_name: htg-landing + restart: unless-stopped + build: + context: . + dockerfile: Dockerfile + ports: + - "5556:80" \ No newline at end of file diff --git a/index.html b/index.html new file mode 100644 index 0000000..47ac5c1 --- /dev/null +++ b/index.html @@ -0,0 +1,61 @@ + + + + + + + HyperTower Games + + + + +

HyperTower Games

+

💥 We try to make games. 💥

+ Github + Icon Attribution + + diff --git a/tower-fall.svg b/tower-fall.svg new file mode 100644 index 0000000..1d2e699 --- /dev/null +++ b/tower-fall.svg @@ -0,0 +1 @@ + \ No newline at end of file