Closed knewitzgui closed 1 year ago
You have to set up a deploy_path
like this:
- name: Test deploy
uses: deployphp/action@v1
with:
dep: deploy localhost -o deploy_path=my_deploy_path/deploy-test
private-key: ${{ secrets.HOST_SSH_KEY }}
With a new localhost
host:
# deploy.yaml
hosts:
localhost:
local: true
If your subdomain is not a localhost, just override the deploy_path
.
im trying to create a deploy workflow but i need to deploy the application on a subdomain, how i set the directory of the server where the deploy need to be made? Already tried working-directory and run a cd in the path that i need, nothing worked.
Upvote & Fund