This repository has been archived by the owner on Nov 12, 2023. It is now read-only.
Merge pull request #74 from HugoRCD/dependabot/npm_and_yarn/vueuse/nu… #135
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy to Production | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: yarn install | |
- name: Transfer code to Raspberry Pi | |
uses: appleboy/scp-action@master | |
with: | |
host: ${{secrets.RASP_HOST}} | |
username: ${{secrets.RASP_USER}} | |
password: ${{secrets.RASP_PASSWORD}} | |
port: ${{secrets.RASP_PORT}} | |
source: . | |
target: /home/${{secrets.RASP_USER}}/nuxt-app/app |