23 lines
370 B
YAML
23 lines
370 B
YAML
when:
|
|
branch: main
|
|
event: push
|
|
|
|
steps:
|
|
deploy:
|
|
image: alpine/git
|
|
commands:
|
|
- pwd
|
|
- ls -la
|
|
- git status
|
|
- echo "Portfolio pipeline test passed"when:
|
|
branch: main
|
|
event: push
|
|
|
|
steps:
|
|
deploy:
|
|
image: alpine:latest
|
|
commands:
|
|
- cd /woodpecker/src
|
|
- git status
|
|
- echo "Portfolio files updated successfully"
|