deploy.yml updated for new deploy.sh
This commit is contained in:
1 parent
1c46fbee11
commit
4bb307df8d
1 file changed
+7
-1
@@ -10,8 +10,14 @@ jobs:
|
|||||||
deploy:
|
deploy:
|
||||||
runs-on: canina
|
runs-on: canina
|
||||||
steps:
|
steps:
|
||||||
|
- name: Checkout Code
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Give execute permission to script
|
||||||
|
run: chmod +x scripts/deploy.sh
|
||||||
|
|
||||||
- name: Run Deployment Script
|
- name: Run Deployment Script
|
||||||
env:
|
env:
|
||||||
BRANCH: ${{ github.ref_name }}
|
BRANCH: ${{ github.ref_name }}
|
||||||
run: |
|
run: |
|
||||||
bash /opt/services/canina/deploy.sh ${BRANCH}
|
bash scripts/deploy.sh ${BRANCH}
|
||||||
Reference in new issue
Block a user