Update .forgejo/workflows/build_and_test.yml
All checks were successful
Build and Deploy Test Version (with Drafts) - next.asandikci.com / build-drafts-and-deploy (push) Successful in 1m6s
All checks were successful
Build and Deploy Test Version (with Drafts) - next.asandikci.com / build-drafts-and-deploy (push) Successful in 1m6s
This commit is contained in:
parent
4a02ad7692
commit
e3f34bc6b7
1 changed files with 1 additions and 33 deletions
|
@ -1,4 +1,4 @@
|
||||||
name: "Build and Deploy Test Version (with/without Drafts) - next.asandikci.com"
|
name: "Build and Deploy Test Version (with Drafts) - next.asandikci.com"
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
|
@ -20,38 +20,6 @@ concurrency:
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
# build-and-push-prod:
|
|
||||||
# runs-on: docker
|
|
||||||
# container:
|
|
||||||
# image: git.asandikci.com/docker-images/website_builder:latest
|
|
||||||
# steps:
|
|
||||||
# - name: Git Clone
|
|
||||||
# run: |
|
|
||||||
# git clone https://git.asandikci.com/asandikci.com/web
|
|
||||||
# ls -la ./web
|
|
||||||
|
|
||||||
# - name: Build Site
|
|
||||||
# run: |
|
|
||||||
# cd web
|
|
||||||
# bundle install
|
|
||||||
# bundle exec jekyll b
|
|
||||||
# env:
|
|
||||||
# JEKYLL_ENV: "production"
|
|
||||||
|
|
||||||
# - name: Push to "website" branch
|
|
||||||
# run: |
|
|
||||||
# mkdir website_branch && cd website_branch
|
|
||||||
# git clone https://git.asandikci.com/asandikci.com/web
|
|
||||||
# cd web
|
|
||||||
# git checkout website
|
|
||||||
# rm -rfv ./_site/
|
|
||||||
# cp -rfv ../../web/_site .
|
|
||||||
# git config --global user.name "Aliberk Sandıkçı (CI)"
|
|
||||||
# git config --global user.email git+ci@asandikci.com
|
|
||||||
# git add -A
|
|
||||||
# git commit --all --message "Updated! [CI]"
|
|
||||||
# git push https://asandikci:${{ secrets.PUSH_KEY }}@git.asandikci.com/asandikci.com/web
|
|
||||||
|
|
||||||
build-drafts-and-deploy:
|
build-drafts-and-deploy:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
container:
|
container:
|
||||||
|
|
Loading…
Reference in a new issue