Skip to content

ci/cd 2

ci/cd 2 #9

Workflow file for this run

name: Build and Deploy On-Prem
on:
push:
branches:
- main # adjust if you deploy from a different branch
jobs:
build-and-deploy:
# This targets your self-hosted runner we registered earlier.
# You can add labels in runner setup (like "web-prod") and require them here if you want.
runs-on: self-hosted
steps:
- name: Run deployment script on server
run: |
/opt/build-area/my-react-site/deploy.sh