Skip to content

Commit

Permalink
Revert "fix: add node version into deploy"
Browse files Browse the repository at this point in the history
This reverts commit c739efe.
  • Loading branch information
tanhongit committed Oct 28, 2024
1 parent c739efe commit 2a3a5e8
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ on:
push:
branches: [ "main" ]

env:
NODE_VERSION: ${{ variables.GLOBAL_NVM_USE_VERSION }}

jobs:
deploy:
runs-on: self-hosted
Expand All @@ -20,7 +17,5 @@ jobs:
key: ${{ secrets.SSH_PRIVATE_KEY }}
port: ${{ secrets.REMOTE_PORT }}
script: |
source "$HOME/.nvm/nvm.sh"
nvm use $NODE_VERSION
cd ${{ secrets.DOCS_RUNNER_PATH }}
${{ secrets.DOCS_RUNNER_SPECIAL_COMMAND }}

0 comments on commit 2a3a5e8

Please sign in to comment.