feat: add pipeline
Some checks failed
Linux arm64 / Build (push) Failing after 36s

This commit is contained in:
Morph01
2024-11-06 12:35:34 +01:00
parent 1f650249a3
commit 21355ac913

View File

@@ -0,0 +1,30 @@
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 }}
- 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