ssp6904.ttnrtsite.io/.woodpecker.yml
Shaun Hoffer bbcd7be19d
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
testing for ci
2024-07-25 15:15:01 -04:00

26 lines
807 B
YAML

steps:
buildsite:
image: ruby
when:
- event: manual # workflow should run if you execute it manual
- event: push # workflow should run on each push ( = on each commit)
commands:
- chmod -R a+w .
- gem install bundler
- bundle install
- bundle exec jekyll build
pushsite:
when:
- event: manual # workflow should run if you execute it manual
- event: push # workflow should run on each push ( = on each commit)
image: ubuntu
secrets: [ gittoken, gitemail ]
commands:
- apt update
- apt install -y git
- git config --global user.email "$GITEMAIL"
- git config --global user.name "ssp6904"
- git config --global --add --bool push.autoSetupRemote true
- ls _site