ssp6904.ttnrtsite.io/.woodpecker.yml

23 lines
727 B
YAML
Raw Normal View History

2024-06-01 21:03:58 -04:00
steps:
buildsite:
image: ruby
2024-07-25 15:15:01 -04:00
when:
- event: manual # workflow should run if you execute it manual
- event: push # workflow should run on each push ( = on each commit)
2024-06-01 21:03:58 -04:00
commands:
- chmod -R a+w .
- gem install bundler
- bundle install
- bundle exec jekyll build
pushsite:
2024-07-25 15:15:01 -04:00
when:
- event: manual # workflow should run if you execute it manual
- event: push # workflow should run on each push ( = on each commit)
image: ubuntu
2024-06-01 21:03:58 -04:00
commands:
2024-07-25 15:15:01 -04:00
- apt update
2024-07-25 15:54:33 -04:00
- 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!"