Update Instances.tsx #53
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: Build and deploy application | |
on: | |
workflow_dispatch: | |
push: | |
permissions: | |
contents: read | |
jobs: | |
build: | |
name: build and deploy | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Sources | |
uses: actions/checkout@v3 | |
- name: Install Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- name: Setup package manager | |
uses: pnpm/action-setup@v2 | |
with: | |
version: latest | |
run_install: false | |
- name: Install Dependencies | |
run: pnpm install | |
- name: Run Static Site Generator | |
run: pnpm build | |
- name: copy file via ssh password | |
uses: appleboy/[email protected] | |
with: | |
host: ${{ secrets.DEPLOY_HOST }} | |
username: ${{ secrets.DEPLOY_USERNAME }} | |
port: ${{ secrets.DEPLOY_PORT }} | |
key: ${{ secrets.DEPLOY_KEY }} | |
source: dist/* | |
target: ${{ secrets.DEPLOY_PATH }} |