21 lines
320 B
YAML
21 lines
320 B
YAML
|
---
|
||
|
when:
|
||
|
event:
|
||
|
- push
|
||
|
|
||
|
steps:
|
||
|
build:
|
||
|
image: alpine
|
||
|
name: Build project
|
||
|
privileged: false
|
||
|
commands:
|
||
|
- envsubst < scripts.sh > project.sh
|
||
|
- chmod +x project.sh
|
||
|
environment:
|
||
|
MESSAGE: hello
|
||
|
run:
|
||
|
image: alpine
|
||
|
name: Run the project
|
||
|
commands:
|
||
|
- ./project.sh
|