This commit is contained in:
parent
a5cd62f148
commit
bbcd7be19d
@ -1,13 +1,25 @@
|
||||
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:
|
||||
image: node
|
||||
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:
|
||||
- npx @getmeli/cli upload --url https://meli.ttnrtsite.me --site 59998170-c2a6-4d1c-887c-c5246c436ce4 --token bbb1863e849a2abc179c22aa0e187e2fe4e800f4966b0fc111451247fa193411 _site
|
||||
- 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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user