15 lines
229 B
YAML
15 lines
229 B
YAML
when:
|
|
branch: main
|
|
event: push
|
|
|
|
steps:
|
|
validate:
|
|
image: alpine
|
|
commands:
|
|
- test -f index.html
|
|
- test -f style.css
|
|
|
|
deploy:
|
|
image: alpine
|
|
commands:
|
|
- echo "Portfolio deployment successful" |