added dockerfile & nginx
This commit is contained in:
parent
692f9bdd2a
commit
b35c32303f
@ -1,21 +0,0 @@
|
|||||||
name: Deploy Volleyball Dev
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
deploy:
|
|
||||||
runs-on: docker
|
|
||||||
steps:
|
|
||||||
- name: Code auschecken
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
|
|
||||||
- name: Verbinde zum Server und update Repo
|
|
||||||
run: |
|
|
||||||
echo "Pulling latest code..."
|
|
||||||
cd /opt/volleyball-dev/frontend
|
|
||||||
git pull
|
|
||||||
echo "Restarting docker containers..."
|
|
||||||
docker-compose -f /opt/volleyball-dev/docker-compose.yml up -d --build
|
|
||||||
24
.gitignore
vendored
24
.gitignore
vendored
@ -1,24 +0,0 @@
|
|||||||
# Logs
|
|
||||||
logs
|
|
||||||
*.log
|
|
||||||
npm-debug.log*
|
|
||||||
yarn-debug.log*
|
|
||||||
yarn-error.log*
|
|
||||||
pnpm-debug.log*
|
|
||||||
lerna-debug.log*
|
|
||||||
|
|
||||||
node_modules
|
|
||||||
dist
|
|
||||||
dist-ssr
|
|
||||||
*.local
|
|
||||||
|
|
||||||
# Editor directories and files
|
|
||||||
.vscode/*
|
|
||||||
!.vscode/extensions.json
|
|
||||||
.idea
|
|
||||||
.DS_Store
|
|
||||||
*.suo
|
|
||||||
*.ntvs*
|
|
||||||
*.njsproj
|
|
||||||
*.sln
|
|
||||||
*.sw?
|
|
||||||
Loading…
Reference in New Issue
Block a user