Skip to content

Commit

Permalink
fix deploy file
Browse files Browse the repository at this point in the history
  • Loading branch information
khansadaoudi committed May 30, 2024
1 parent f22c1e9 commit aaae915
Showing 1 changed file with 10 additions and 16 deletions.
26 changes: 10 additions & 16 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,24 +7,18 @@ jobs:
build:
runs-on: ubuntu-latest
steps:

- name: checkout repository
- name: Checkout repository
uses: actions/checkout@v2

- name: install dependencies
- name: Install dependencies
run: npm install

- name: build
- name: Build
run: npm run buildProd

- name: copy build to server
uses: appleboy/scp-action
- name: Copy build to server
uses: appleboy/scp-action@master
with:
host: ${{secrets.SERVER_HOST}}
username: ${{secrets.SERVER_USERNAME}}
key: ${{secrets.SERVER_SSH_KEY}}
port: ${{secrets.SERVER_PORT}}
host: ${{ secrets.SERVER_HOST }}
username: ${{ secrets.SERVER_USERNAME }}
key: ${{ secrets.SERVER_SSH_KEY }}
port: ${{ secrets.SERVER_PORT }}
source: /dist/spa
target: /home/arborator/arborator-frontend-test


target: /home/arborator/arborator-frontend-test

0 comments on commit aaae915

Please sign in to comment.