Refactor CI workflow to replace actions/checkout with custom checkout logic
Some checks failed
Build and Deploy / build-and-deploy (push) Failing after 0s
Some checks failed
Build and Deploy / build-and-deploy (push) Failing after 0s
This commit is contained in:
parent
c9ac2c2968
commit
0ba3239ec9
@ -10,7 +10,13 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- 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
|
- name: Write deploy key
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user