Refactor CI workflow to replace actions/checkout with custom checkout logic
Some checks failed
Build and Deploy / build-and-deploy (push) Failing after 0s

This commit is contained in:
Nik Afiq 2026-03-09 23:31:10 +09:00
parent c9ac2c2968
commit 0ba3239ec9

View File

@ -10,7 +10,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
run: |
if [ -d /tmp/watch-party ]; then
cd /tmp/watch-party && git fetch origin && git reset --hard origin/main
else
git clone https://gitea.home.arpa/nik/watch-party /tmp/watch-party
fi
cp -r /tmp/watch-party/. .
- name: Write deploy key
run: |