Skip to content

Commit

Permalink
minor tabulation error workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
khansadaoudi committed May 23, 2024
1 parent b65791e commit f22c1e9
Showing 1 changed file with 20 additions and 16 deletions.
36 changes: 20 additions & 16 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,24 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout repository
uses: actions/checkout@v2
- name: install dependencies
run: npm install
- name: build
run: npm run buildProd
- name: copy build to server
uses: appleboy/scp-action
with:
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


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

- name: install dependencies
run: npm install

- name: build
run: npm run buildProd

- name: copy build to server
uses: appleboy/scp-action
with:
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


0 comments on commit f22c1e9

Please sign in to comment.