updated build.yml
This commit is contained in:
@@ -4,11 +4,11 @@ on:
|
|||||||
pull_request:
|
pull_request:
|
||||||
branches: [main]
|
branches: [main]
|
||||||
types: [opened, synchronize, reopened]
|
types: [opened, synchronize, reopened]
|
||||||
workflow_dispatch: # manual trigger — handy while you're wiring this up
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-and-copy:
|
build-and-copy:
|
||||||
runs-on: self-hosted # must match a LABEL on your runner (see below)
|
runs-on: ac2d5498d5b2
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@@ -21,8 +21,8 @@ jobs:
|
|||||||
- name: Copy build output to FTP server
|
- name: Copy build output to FTP server
|
||||||
uses: SamKirkland/FTP-Deploy-Action@4.2.0
|
uses: SamKirkland/FTP-Deploy-Action@4.2.0
|
||||||
with:
|
with:
|
||||||
server: 192.168.x.x # LAN IP of the box running your FTP server
|
server: 82.165.141.176 # LAN IP of the box running your FTP server
|
||||||
username: ${{ secrets.FTP_USER }}
|
username: ${{ secrets.FTP_USER }}
|
||||||
password: ${{ secrets.FTP_PASS }}
|
password: ${{ secrets.FTP_PASS }}
|
||||||
local-dir: dist/ # where your build output lands
|
local-dir: dist/ # where your build output lands
|
||||||
remote-dir: /public_html/site/ # target dir on the FTP server
|
remote-dir: /dev.karlderheinz.tv/ # target dir on the FTP server
|
||||||
|
|||||||
Reference in New Issue
Block a user