Update .github/workflows/build_and_test.yml
Some checks failed
Build and Deploy Test Version - next.asandikci.com / build_deploy (push) Failing after 3m51s

This commit is contained in:
Aliberk Sandıkçı 2024-11-13 23:27:34 +03:00
parent 3ed4068a7a
commit edf3c165e2

View file

@ -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ıı (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: |