Skip to content

Commit

Permalink
Merge pull request #92 from frontend-park-mail-ru/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
ilya-heartless authored Dec 16, 2024
2 parents f6d6b7f + 926b982 commit 21941f4
Show file tree
Hide file tree
Showing 201 changed files with 21,554 additions and 21,202 deletions.
55 changes: 55 additions & 0 deletions .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: CD

on:
push:
branches:
- main
- develop

jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Install node.js
uses: actions/setup-node@v4
with:
node-version: 16

- name: Check out code into directory
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Install dependencies
run: npm ci

- name: Build
run: npm run build

- name: Upload build result
uses: actions/upload-artifact@v4
with:
name: dist
path: ~/dist

delivery:
name: Delivery
runs-on: ubuntu-latest
needs: build
steps:
- name: Download build
uses: actions/download-artifact@v4
with:
name: dist
path: ./dist

- name: Transfer build files to server
uses: appleboy/[email protected]
with:
host: 185.241.194.24
username: ubuntu
key: ${{ secrets.PRIVATE_KEY }}
source: "dist/*"
target: "/var/www/nova-music/dist"
strip_components: 1
72 changes: 0 additions & 72 deletions Makefile

This file was deleted.

8 changes: 0 additions & 8 deletions docker/.env

This file was deleted.

12 changes: 0 additions & 12 deletions docker/Dockerfile

This file was deleted.

11 changes: 0 additions & 11 deletions docker/docker-compose.dev.yaml

This file was deleted.

13 changes: 0 additions & 13 deletions docker/docker-compose.prod.yaml

This file was deleted.

Loading

0 comments on commit 21941f4

Please sign in to comment.