Skip to content

Add test environment disclaimer #23

Add test environment disclaimer

Add test environment disclaimer #23

name: Build and deploy
on:
push:
branches: ["main"]
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node 18
uses: actions/setup-node@v3
with:
node-version: 18
- run: npm install
- run: CI=false npm run build
- name: Deploy to server
uses: burnett01/[email protected]
with:
switches: -avzr --delete
path: build/
remote_path: /home/${{ secrets.SSH_USER }}/odysseus/admin-story/
remote_host: ${{ secrets.SSH_HOST }}
remote_user: ${{ secrets.SSH_USER }}
remote_key: ${{ secrets.SSH_KEY }}