Add Radicle CI
This commit is contained in:
parent
9b4461476c
commit
e999d91b0c
2 changed files with 3 additions and 19 deletions
19
.build.yml
19
.build.yml
|
@ -1,19 +0,0 @@
|
||||||
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
|
|
3
.radicle/native.yml
Normal file
3
.radicle/native.yml
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
shell: |
|
||||||
|
podman run -it -v .:/site:z quay.io/aspr/phlexite:latest
|
||||||
|
cp -r _build/* /srv/farthergate.com/
|
Loading…
Add table
Add a link
Reference in a new issue