Skip to content

Commit f9efc18

Browse files
author
suish
authored
Merge pull request #3 from y0ke/develop
Develop
2 parents e061a93 + 8cfbb2f commit f9efc18

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,5 @@ jobs:
2121
TARGET_SERVER: ${{ secrets.SERVER_NAME }}
2222
DEPLOY_USERNAME: ${{ secrets.DEPLOY_USERNAME }}
2323
DEPLOY_PASSWORD: ${{ secrets.DEPLOY_PASSWORD }}
24-
```
24+
EXTRA_COMMANDS: ${{ secrets.DEPLOY_EXTRA_COMMANDS }}
25+
```

entrypoint.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ unzip dist.zip -d tmp_zip
2323
cp -Rpf tmp_zip/. ${M_REMOTE_DIR}
2424
rm -rf tmp_zip
2525
rm dist.zip
26+
cd ${M_REMOTE_DIR}
27+
${EXTRA_COMMANDS}
2628
'"
2729

2830
echo "Deploy completed"

0 commit comments

Comments
 (0)