Update .github/workflows/push-dappbundle.yml
Some checks failed
Deploy to Dappbundle / Deploy (push) Has been cancelled
Some checks failed
Deploy to Dappbundle / Deploy (push) Has been cancelled
This commit is contained in:
parent
b74f265531
commit
4eaf70fb07
7
.github/workflows/push-dappbundle.yml
vendored
7
.github/workflows/push-dappbundle.yml
vendored
@ -8,7 +8,7 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: Deploy
|
name: Deploy
|
||||||
runs-on: ubuntu-latest
|
runs-on: self-hosted
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Deploy via SSH
|
- name: Deploy via SSH
|
||||||
@ -28,7 +28,7 @@ jobs:
|
|||||||
|
|
||||||
if [ ! -d "$BASE/dappbundle/.git" ]; then
|
if [ ! -d "$BASE/dappbundle/.git" ]; then
|
||||||
echo "Cloning dappbundle..."
|
echo "Cloning dappbundle..."
|
||||||
git clone git@gitea.ranchimall.net:RanchiMall/$APP.git "$BASE/dappbundle/$APP"
|
git clone git@gitea.ranchimall.net:RanchiMall/dappbundle.git "$BASE/dappbundle"
|
||||||
else
|
else
|
||||||
echo "Updating dappbundle..."
|
echo "Updating dappbundle..."
|
||||||
cd "$BASE/dappbundle"
|
cd "$BASE/dappbundle"
|
||||||
@ -38,8 +38,7 @@ jobs:
|
|||||||
echo "== Refreshing app bundle =="
|
echo "== Refreshing app bundle =="
|
||||||
|
|
||||||
rm -rf "$BASE/dappbundle/$APP"
|
rm -rf "$BASE/dappbundle/$APP"
|
||||||
|
git clone git@gitea.ranchimall.net:RanchiMall/$APP.git "$BASE/dappbundle/$APP"
|
||||||
git clone https://gitea.ranchimall.net/RanchiMall/$APP "$BASE/dappbundle/$APP"
|
|
||||||
|
|
||||||
cd "$BASE/dappbundle"
|
cd "$BASE/dappbundle"
|
||||||
git config user.email "ranchimallfze@gmail.com"
|
git config user.email "ranchimallfze@gmail.com"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user