Skip to content

Update Game.tsx

Update Game.tsx #20

Workflow file for this run

name: Deploy to Server
on:
push:
branches:
- main # Adjust this branch if needed
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v2
- name: Install Dependencies and Build
run: |
npm install
npm run build
- name: copy file via ssh password
uses: appleboy/scp-action@master
with:
host: ${{ secrets.SERVER_IP }}
username: ${{ secrets.SSH_USER }}
key: ${{ secrets.SSH_PRIVATE_KEY }}
source: "dist/index.html,dist/assets"
strip_components: 1
target: /var/www/hexle/