Skip to content

Commit

Permalink
v0.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
dnicknick committed Jan 10, 2024
1 parent f5c02a7 commit 9856f1a
Show file tree
Hide file tree
Showing 8 changed files with 1,876 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Deploy

on:
push:
branches:
- NDybnov/hw21

jobs:
deployment:
runs-on: ubuntu-latest
environment:
name: production
url: http://5.35.98.239
steps:
- name: deploy
run: |
echo '..deploy...'
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
vendor/
.env
7 changes: 7 additions & 0 deletions app/.docker/php-cli/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
FROM php:8.3.1-cli-alpine3.19

COPY --from=composer/composer:latest-bin /composer /usr/bin/composer

WORKDIR /app

CMD ["php", "-S", "0.0.0.0:8000", "-t", "/app"]
2 changes: 2 additions & 0 deletions app/.env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
APP_VERSION=3a4cdb6
OWN_NGINX_PORT=80
21 changes: 21 additions & 0 deletions app/composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"name": "hw/app-deploy",
"type": "project",
"require": {
"ndybnov-hw03/cnf-read": "^1.1"
},
"require-dev": {
"phpunit/phpunit": "^9.6"
},
"autoload": {
"psr-4": {
"AppDepoy\\": "./"
}
},
"authors": [
{
"name": "DNickolay",
"email": "[email protected]"
}
]
}
Loading

0 comments on commit 9856f1a

Please sign in to comment.