build(workflow and compose): updated compose file and adding GITHUB_PATH
This commit is contained in:
parent
429fe8a712
commit
1974661fab
2 changed files with 14 additions and 2 deletions
|
|
@ -77,9 +77,13 @@ jobs:
|
|||
ssh-keyscan -H -p ${{ secrets.DEPLOY_PORT }} ${{ secrets.DEPLOY_HOST }} > ~/.ssh/known_hosts
|
||||
|
||||
printf "Host deploy\nPort ${{ secrets.DEPLOY_PORT }}\nHostname ${{ secrets.DEPLOY_HOST }}\nIdentityFile ~/.ssh/${{ secrets.DEPLOY_USER }}\nUser ${{ secrets.DEPLOY_USER }}" > ~/.ssh/config
|
||||
unset DOCKER_HOST
|
||||
docker context create deploy --docker "host=ssh://deploy"
|
||||
docker context use deploy
|
||||
|
||||
echo "$HOME/.nvm/versions/node/v24.15.0/bin/" >> $GITHUB_PATH
|
||||
|
||||
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v6
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue