Compare commits
12 Commits
5aaa8c7357
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
ef4b2653a8
|
|||
|
3237fcfa7c
|
|||
|
fcef986d2b
|
|||
|
4c6f4d5865
|
|||
|
3052fed279
|
|||
|
fa983c6777
|
|||
|
2a1ddf92aa
|
|||
|
a5b93c1198
|
|||
|
be014fc3c8
|
|||
|
269db48aec
|
|||
|
fe72508717
|
|||
|
70ba5ebdb3
|
@@ -1,6 +1,4 @@
|
|||||||
name: Deploy to Production
|
name: Build and Deploy
|
||||||
run-name: Deploy to Production by @${{ github.actor }}
|
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
@@ -10,14 +8,11 @@ jobs:
|
|||||||
deploy:
|
deploy:
|
||||||
runs-on: self-hosted
|
runs-on: self-hosted
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository code
|
- uses: actions/checkout@v4
|
||||||
uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Build and deploy with Docker Compose
|
- name: Deploy nonograms-app
|
||||||
run: |
|
run: |
|
||||||
# Próba zatrzymania i usunięcia starego kontenera (ignoruje błąd jeśli nie istnieje)
|
|
||||||
docker compose down --remove-orphans || true
|
docker compose down --remove-orphans || true
|
||||||
docker rm -f nonograms-app || true
|
|
||||||
|
|
||||||
# Start nowej wersji
|
|
||||||
docker compose up -d --build
|
docker compose up -d --build
|
||||||
|
|
||||||
|
|
||||||
@@ -1,17 +1,23 @@
|
|||||||
|
name: nonograms-app
|
||||||
|
|
||||||
services:
|
services:
|
||||||
piggy-bank:
|
nonograms-app:
|
||||||
container_name: nonograms-app
|
container_name: nonograms-app
|
||||||
build: .
|
build:
|
||||||
restart: unless-stopped
|
context: .
|
||||||
|
dockerfile: Dockerfile
|
||||||
# ports:
|
# ports:
|
||||||
# - "8081:80"
|
# - "8083:80"
|
||||||
expose:
|
expose:
|
||||||
- "80"
|
- "80"
|
||||||
|
restart: unless-stopped
|
||||||
|
# volumes:
|
||||||
|
# - ./nginx.conf:/etc/nginx/conf.d/default.conf:ro
|
||||||
networks:
|
networks:
|
||||||
- npm_public
|
npm_public:
|
||||||
|
aliases:
|
||||||
|
- nonograms-app
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
npm_public:
|
npm_public:
|
||||||
external: true
|
external: true
|
||||||
|
|
||||||
|
|||||||
16
index.html
16
index.html
@@ -6,7 +6,21 @@
|
|||||||
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
|
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
|
||||||
<link rel="mask-icon" href="/nonograms.svg" color="#00f2fe" />
|
<link rel="mask-icon" href="/nonograms.svg" color="#00f2fe" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover" />
|
||||||
<title>Nonograms Pro - Vue 3 SOLID</title>
|
|
||||||
|
<title>Nonograms Pro - Logic Puzzle Game</title>
|
||||||
|
<meta name="description" content="Interactive Nonogram logic puzzles with a modern interface. Solve puzzles, use the built-in solver, and create your own custom games.">
|
||||||
|
|
||||||
|
<!-- Open Graph (for social media sharing like Facebook/Discord) -->
|
||||||
|
<meta property="og:title" content="Nonograms Pro - Logic Puzzle Game">
|
||||||
|
<meta property="og:description" content="Interactive Nonogram logic puzzles with a modern interface. Solve puzzles, use the built-in solver, and create your own custom games.">
|
||||||
|
<meta property="og:image" content="/screenshot.png">
|
||||||
|
<meta property="og:type" content="website">
|
||||||
|
|
||||||
|
<!-- Twitter Cards -->
|
||||||
|
<meta name="twitter:card" content="summary_large_image">
|
||||||
|
<meta name="twitter:title" content="Nonograms Pro - Logic Puzzle Game">
|
||||||
|
<meta name="twitter:description" content="Interactive Nonogram logic puzzles with a modern interface. Solve puzzles, use the built-in solver, and create your own custom games.">
|
||||||
|
<meta name="twitter:image" content="/screenshot.png">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="app"></div>
|
<div id="app"></div>
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name localhost;
|
listen [::]:80;
|
||||||
|
server_name _;
|
||||||
root /usr/share/nginx/html;
|
root /usr/share/nginx/html;
|
||||||
index index.html;
|
index index.html;
|
||||||
|
|
||||||
|
|||||||
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "vue-nonograms-solid",
|
"name": "vue-nonograms-solid",
|
||||||
"version": "1.15.12",
|
"version": "1.15.17",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "vue-nonograms-solid",
|
"name": "vue-nonograms-solid",
|
||||||
"version": "1.15.12",
|
"version": "1.15.17",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@capacitor/android": "^8.1.0",
|
"@capacitor/android": "^8.1.0",
|
||||||
"@capacitor/cli": "^8.1.0",
|
"@capacitor/cli": "^8.1.0",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "vue-nonograms-solid",
|
"name": "vue-nonograms-solid",
|
||||||
"version": "1.15.12",
|
"version": "1.15.17",
|
||||||
"homepage": "https://nonograms.7u.pl/",
|
"homepage": "https://nonograms.7u.pl/",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
Reference in New Issue
Block a user