30 lines
619 B
YAML
30 lines
619 B
YAML
name: Linux arm64
|
|
run-name: Build App
|
|
|
|
on: [push]
|
|
|
|
jobs:
|
|
Build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Check out repository code
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Build
|
|
run: |
|
|
npm ci
|
|
npm run build
|
|
|
|
- uses: webfactory/ssh-agent@v0.9.0
|
|
with:
|
|
ssh-private-key: ${{ secrets.SSH_KEY_PERSO }}
|
|
|
|
|
|
- uses: actions/upload-artifact@v3
|
|
with:
|
|
name: Release Build
|
|
path: ${{ github.workspace }}/build
|
|
|
|
- name: Deploy
|
|
run: |
|
|
scp -r build ubuntu@git.ale-pri.com:Sites/Portfolio |