Update build.yml with test deploy with brain
All checks were successful
Linux arm64 / Build-and-Deploy (push) Successful in 39s
All checks were successful
Linux arm64 / Build-and-Deploy (push) Successful in 39s
This commit is contained in:
@@ -27,12 +27,12 @@ jobs:
|
|||||||
|
|
||||||
- name: Upload build folder to temporary directory on remote server
|
- name: Upload build folder to temporary directory on remote server
|
||||||
run: |
|
run: |
|
||||||
scp -r build ubuntu@git.ale-pri.com:Poubelle/build
|
scp -r build ubuntu@git.ale-pri.com:Poubelle/portfolio
|
||||||
|
|
||||||
- name: Deploy to final directory on remote server
|
- name: Deploy to final directory on remote server
|
||||||
run: |
|
run: |
|
||||||
ssh ubuntu@git.ale-pri.com << 'EOF'
|
ssh ubuntu@git.ale-pri.com << 'EOF'
|
||||||
BUILD_TMP=/Poubelle/build
|
BUILD_TMP=Poubelle/portfolio
|
||||||
DEPLOY_DIR=/var/www/portfolio
|
DEPLOY_DIR=/var/www/portfolio
|
||||||
|
|
||||||
sudo mkdir -p $DEPLOY_DIR
|
sudo mkdir -p $DEPLOY_DIR
|
||||||
Reference in New Issue
Block a user