-
Notifications
You must be signed in to change notification settings - Fork 1
50 lines (47 loc) · 1.33 KB
/
deployment_build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
name: Development Deployment
on:
push:
branches: [ "master" ]
jobs:
deployment_of_hackathon_to_build:
env:
VUE_APP_API_BASE_URL: 'https://build.hackathon.exdrals.de'
runs-on: ubuntu-20.04
steps:
- name: Get latest code
uses: actions/checkout@v2
- name: Install Composer Dependencies
run: composer install
- name: Run create openapi Data
run: composer run-script openapi
- name: FTP Deploy to Development Server (Staging)
uses: SamKirkland/FTP-Deploy-Action@4.3.2
with:
server: ${{ secrets.BUILD_HOST }}
username: ${{ secrets.BUILD_USER }}
password: ${{ secrets.BUILD_PASSWORD }}
state-name: ".ftp-deploy-sync-state-backend.json"
exclude: |
**/.git*
**/*.dist
**/*.dist/**
**/.git*/**
**/bin/**
**/tests/**
**/config/autoload/**
**/config/migrations/**
**/node_modules/**
**/client/**
**/database/**
**/scripts/**
**/tests/**
**/docker/**
**/public/assets/**
**/public/index.html
**/*.md
**/*.xml
**/*.neon
**/*.json
**/*.yml
**/*.lock
**/LICENSE