diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index fb15d73..7e67d01 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -5,9 +5,6 @@ on: branches: - main -env: - NODE_VERSION: ${{ variables.GLOBAL_NVM_USE_VERSION }} - jobs: deploy: runs-on: self-hosted @@ -22,6 +19,6 @@ jobs: port: ${{ secrets.REMOTE_PORT }} script: | source "$HOME/.nvm/nvm.sh" - nvm use $NODE_VERSION + nvm use ${{ env.GLOBAL_NVM_USE_VERSION }} cd ${{ secrets.DOCS_RUNNER_PATH }} ${{ secrets.DOCS_RUNNER_COMMAND }}