parent
74395e6dc4
commit
3688e6a697
1 changed files with 2 additions and 1 deletions
|
@ -4,9 +4,10 @@ pipeline:
|
|||
privileged: true
|
||||
commands:
|
||||
- chmod -R a+w .
|
||||
- mkdir /var/www/pages/index
|
||||
- "[[ -d dir ]] || mkdir /var/www/pages/index"
|
||||
- chmod -R a+w /var/www/pages/index
|
||||
- bundle install
|
||||
- bundle exec jekyll build -d /var/www/pages/index
|
||||
- chown -R woodpecker:woodpecker /var/www/pages/index
|
||||
volumes:
|
||||
- /var/www/pages:/var/www/pages
|
||||
|
|
Loading…
Reference in a new issue