testing ci
Some checks failed
Build Site / Build-Site (push) Failing after 2m11s

This commit is contained in:
Gianmarco Pettinato 2023-11-24 15:47:35 +01:00
parent 297521efdc
commit 92ce549c37
3 changed files with 59 additions and 0 deletions

View File

@ -0,0 +1,24 @@
name: Build Site
on:
push:
branches:
- develop
jobs:
Build-Site:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '16.x'
- run: npm install
- run: npm run build
- name: Run sshpass commands
uses: matheusvanzan/sshpass-action@v2
with:
host : ${{ secrets.SSH_HOST }}
user: ${{ secrets.SSH_USER }}
pass: ${{ secrets.SSH_PWD }}
run: ls -al

View File

@ -0,0 +1,17 @@
name: Build Site
on:
push:
branches:
- main
jobs:
Build-Site:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '16.x'
- run: npm install
- run: npm run build

View File

@ -0,0 +1,18 @@
name: Build Site
on:
pull_request:
branches:
- 'feat/**'
- 'develop'
jobs:
Build-Site:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '16.x'
- run: npm install
- run: npm run build