ssp6904.ttnrtsite.io/.woodpecker.yml
Shaun Hoffer b79954af36
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
updated workflow for testing
2024-07-25 15:54:33 -04:00

23 lines
727 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
commands:
- apt update
- apt install -y git wget
- wget https://git.ttnrtsite.me/TTNRT/actions/pages/run.sh
- chmod +x run.sh
- bash run.sh _site
- echo "Done!"