Skip to content

Commit

Permalink
update deploy script, update test env deprecatiron
Browse files Browse the repository at this point in the history
  • Loading branch information
brandon-pereira committed Oct 28, 2023
1 parent 700d3c6 commit d6bd492
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
username: ${{ secrets.SSH_USERNAME }}
script_stop: true
script: |
cd www/betterdo-api
cd /home/www/betterdo-api
git checkout .
git pull
npm install --production=false
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@ jobs:
env:
NODE_ENV: test
steps:
- uses: actions/checkout@v2
- run: echo "##[set-output name=NVMRC;]$(cat .nvmrc)"
- uses: actions/checkout@v4
- run: echo "NVMRC=$(cat .nvmrc)" >> $GITHUB_OUTPUT
id: nvm
- uses: actions/setup-node@v2
- name: Setup Environment
uses: actions/setup-node@v3
with:
node-version: '${{ steps.nvm.outputs.NVMRC }}'
- run: npm install
Expand Down

0 comments on commit d6bd492

Please sign in to comment.