Update .github/workflows/build_and_test.yml
Some checks failed
Build and Deploy Test Version - next.asandikci.com / build_deploy (push) Failing after 3m51s
Some checks failed
Build and Deploy Test Version - next.asandikci.com / build_deploy (push) Failing after 3m51s
This commit is contained in:
parent
3ed4068a7a
commit
edf3c165e2
1 changed files with 13 additions and 1 deletions
14
.github/workflows/build_and_test.yml
vendored
14
.github/workflows/build_and_test.yml
vendored
|
@ -64,7 +64,19 @@ jobs:
|
||||||
|
|
||||||
- name: Push to "website" branch
|
- name: Push to "website" branch
|
||||||
run: |
|
run: |
|
||||||
echo "do not ready yet"
|
mkdir website_branch && cd website_branch
|
||||||
|
git clone https://git.asandikci.com/asandikci.com/web
|
||||||
|
cd web
|
||||||
|
git checkout website
|
||||||
|
rm -rfv .
|
||||||
|
mv ../../web/_site .
|
||||||
|
git config --global user.name "Aliberk Sandıkçı (Forgejo Runner CI)"
|
||||||
|
git config --global user.email git@asandikci.com
|
||||||
|
git add -A
|
||||||
|
git commit --all --message "built latest static resources from main"
|
||||||
|
git push https://asandikci:${{ secrets.PUSH_KEY }}@git.asandikci.com/asandikci.com/web --all
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
- name: Checkout & Deploy
|
- name: Checkout & Deploy
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Reference in a new issue