Update .github/workflows/push-dappbundle.yml
Some checks are pending
Deploy to Dappbundle / Deploy (push) Waiting to run
Some checks are pending
Deploy to Dappbundle / Deploy (push) Waiting to run
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:
|
||||
build:
|
||||
name: Deploy
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: self-hosted
|
||||
|
||||
steps:
|
||||
- name: Deploy via SSH
|
||||
@ -28,7 +28,7 @@ jobs:
|
||||
|
||||
if [ ! -d "$BASE/dappbundle/.git" ]; then
|
||||
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
|
||||
echo "Updating dappbundle..."
|
||||
cd "$BASE/dappbundle"
|
||||
@ -38,8 +38,7 @@ jobs:
|
||||
echo "== Refreshing app bundle =="
|
||||
|
||||
rm -rf "$BASE/dappbundle/$APP"
|
||||
|
||||
git clone https://gitea.ranchimall.net/RanchiMall/$APP "$BASE/dappbundle/$APP"
|
||||
git clone git@gitea.ranchimall.net:RanchiMall/$APP.git "$BASE/dappbundle/$APP"
|
||||
|
||||
cd "$BASE/dappbundle"
|
||||
git config user.email "ranchimallfze@gmail.com"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user