back to sourcehut CI
This commit is contained in:
parent
08d297a15d
commit
491e90b5e8
2 changed files with 19 additions and 16 deletions
19
.build.yml
Normal file
19
.build.yml
Normal file
|
@ -0,0 +1,19 @@
|
|||
image: alpine/edge
|
||||
packages:
|
||||
- ruby
|
||||
- ruby-dev
|
||||
- ruby-bundler
|
||||
- hut
|
||||
oauth: pages.sr.ht/PAGES:RW
|
||||
environment:
|
||||
site: farthergate.com
|
||||
tasks:
|
||||
- build: |
|
||||
cd farthergate.com
|
||||
bundle install --path vendor/bundle
|
||||
bundle exec ruby build.rb
|
||||
- package: |
|
||||
cd farthergate.com/_build
|
||||
tar -cvz . > ../../site.tar.gz
|
||||
- upload: |
|
||||
hut pages publish -d $site site.tar.gz
|
Loading…
Add table
Add a link
Reference in a new issue