Skip to content

Commit b1265bc

Browse files
authored
Merge pull request #98 from alainseys/githubaction-v08.06.2021
Added github action functionality
2 parents 2af645c + 6b626aa commit b1265bc

6 files changed

Lines changed: 69 additions & 0 deletions

File tree

.github/workflows/main.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# This is a basic workflow to help you get started with Actions
2+
3+
name: CI
4+
5+
# Controls when the workflow will run
6+
on:
7+
# Triggers the workflow on push or pull request events but only for the main branch
8+
push:
9+
10+
11+
# Allows you to run this workflow manually from the Actions tab
12+
workflow_dispatch:
13+
14+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
15+
jobs:
16+
# This workflow contains a single job called "build"
17+
build:
18+
# The type of runner that the job will run on
19+
runs-on: ubuntu-latest
20+
21+
# Steps represent a sequence of tasks that will be executed as part of the job
22+
steps:
23+
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
24+
- uses: actions/checkout@v2
25+
26+
# Runs a single command using the runners shell
27+
- name: Build the docker container
28+
run: docker-compose -f development/docker-compose.yml up --build -d # (-d to run as daemon so the github action should stop after build)
29+
30+
# Runs a set of commands using the runners shell
31+

.idea/createivecommons.iml

Lines changed: 12 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/inspectionProfiles/Project_Default.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/modules.xml

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/vcs.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

development/.env

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
IP=127.0.0.1
2+
DB_ROOT_PASSWORD=password
3+
DB_NAME=wordpress
4+
5+
#here you can switch between mysql/mariadb
6+
DATABASE=mariadb

0 commit comments

Comments
 (0)