Skip to content

Commit

Permalink
Create ci.md
Browse files Browse the repository at this point in the history
  • Loading branch information
nadar committed Nov 20, 2020
1 parent 8dc62db commit c104097
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions docs/ci.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
Its very common to compile your dist files into a docker image while running your pipelines, therefore those are examples for unglue usage inside of CI system.

## GitLab

```yaml
image: php:7.4-cli
stage: build
services:
- name: unglue/server
alias: unglue
before_script:
- apt-get install wget
- wget -O unglue.phar https://github.com/unglue-workflow/client/raw/master/unglue.phar
- chmod +x unglue.phar
script:
- ./unglue.phar compile --server=unglue:3000
```

Maybe its required to publish your artifacts for further steps, therefore use something like thise, while `resources` is the folder the compiled files are published:

```yaml
artifacts:
paths:
- "resources"
```

0 comments on commit c104097

Please sign in to comment.