This commit is contained in:
2024-05-12 16:44:54 +03:00
parent 5f6284fae4
commit cee5330bbc
3 changed files with 5 additions and 29 deletions

View File

@@ -1,25 +0,0 @@
kind: pipeline
type: docker
name: build
clone:
disable: true
steps:
- name: bulid
image: node:16
environment:
SSH_PRIVATE_KEY:
from_secret: ssh_private_key
commands:
- git clone https://git.radner.ru/anatolykopyl/games.anatolykopyl.ru.git
- cd games.anatolykopyl.ru
- npm install
- npm run build
- mkdir ~/.ssh
- echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_rsa
- chmod 400 ~/.ssh/id_rsa
- scp -o StrictHostKeyChecking=no -r ./dist/* webmaster@games.anatolykopyl.ru:~/www/games.anatolykopyl.ru
when:
branch:
- master

1
.gitignore vendored
View File

@@ -1,5 +1,6 @@
node_modules node_modules
.DS_Store .DS_Store
.idea
dist dist
dist-ssr dist-ssr
*.local *.local

View File

@@ -42,7 +42,7 @@
An atmospheric platformer. An atmospheric platformer.
</div> </div>
<div class="links"> <div class="links">
<a href="https://games.anatolykopyl.ru/stroll" target="_blank">Play now</a> <a href="/stroll" target="_blank">Play now</a>
<a href="https://gamejolt.com/games/Stroll/279158" target="_blank">Check out on GameJolt</a> <a href="https://gamejolt.com/games/Stroll/279158" target="_blank">Check out on GameJolt</a>
</div> </div>
</div> </div>
@@ -59,7 +59,7 @@
Two people on one keyboard, oldschool. Two people on one keyboard, oldschool.
</div> </div>
<div class="links"> <div class="links">
<a href="https://games.anatolykopyl.ru/mwg" target="_blank">Play now</a> <a href="/mwg" target="_blank">Play now</a>
<a href="https://gamejolt.com/games/monkeys-with-grenades/83237" target="_blank">Check out on GameJolt</a><br> <a href="https://gamejolt.com/games/monkeys-with-grenades/83237" target="_blank">Check out on GameJolt</a><br>
<a href="https://linktr.ee/lebtr" target="_blank">Music by Lebtr</a> <a href="https://linktr.ee/lebtr" target="_blank">Music by Lebtr</a>
</div> </div>