Copy command
This commit is contained in:
parent
a7bb5d995a
commit
c6788370de
1 changed files with 2 additions and 11 deletions
|
@ -21,17 +21,8 @@ jobs:
|
||||||
- run: npm run build
|
- run: npm run build
|
||||||
- run: npm test
|
- run: npm test
|
||||||
|
|
||||||
- run: ls -lah ${{ secrets.PROD_SSH_REPO_PATH }}
|
- name: "Copy files over to location"
|
||||||
|
run: cp -r . ${{ secrets.PROD_REPO_PATH }}
|
||||||
- name: RSync to server
|
|
||||||
uses: https://github.com/D3rHase/rsync-deploy-action@v0.2
|
|
||||||
with:
|
|
||||||
HOST: ${{ secrets.PROD_SSH_HOST }}
|
|
||||||
PORT: ${{ secrets.PROD_SSH_PORT }}
|
|
||||||
USER: ${{ secrets.PROD_SSH_USER }}
|
|
||||||
PRIVATE_SSH_KEY: ${{ secrets.PROD_SSH_KEY }}
|
|
||||||
REPOSITORY_PATH: ${{ secrets.PROD_SSH_REPO_PATH }}
|
|
||||||
SERVER_PATH: ${{ secrets.PROD_SSH_SERVER_PATH }}
|
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
environment: prod
|
environment: prod
|
||||||
|
|
Loading…
Reference in a new issue