Skip to content

Merge branch 'main' of https://github.com/eskirk/elliotkirk into dev #6

Merge branch 'main' of https://github.com/eskirk/elliotkirk into dev

Merge branch 'main' of https://github.com/eskirk/elliotkirk into dev #6

Workflow file for this run

name: Deploy dev
on:
push:
branches: [dev]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Deploy elliotkirkdev
uses: appleboy/[email protected]
with:
host: ${{secrets.SSH_HOST}}
key: ${{secrets.SSH_KEY}}
username: ${{secrets.SSH_USERNAME}}
passphrase: ${{secrets.SSH_PASSPHRASE}}
script: |
export NVM_DIR=~/.nvm
source ~/.nvm/nvm.sh
cd elliotkirkdev
nvm use 19.0.1
git checkout dev
git pull -f origin dev
yarn && yarn build
echo "Deployed elliotkirkdev"