Skip to content

Commit

Permalink
init workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
khansadaoudi committed May 23, 2024
1 parent 58bbd0e commit b65791e
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: deploy
on:
push:
branches:
- master
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


0 comments on commit b65791e

Please sign in to comment.