Files
website-v3/.gitea/workflows/build-push-beta.yml
Janis Hutz 7128990116
Some checks failed
Build and upload website update / build-and-upload (push) Failing after 3s
[CI] Add manual workflow dispatch option to CI
2026-04-03 12:34:59 +02:00

25 lines
649 B
YAML

on:
- push
- workflow_dispatch
name: Build and upload website update
jobs:
build-upload:
name: build-and-upload
runs-on: ubuntu-latest
steps:
- name: Pull repo
uses: actions/checkout@v6
- name: Run node build
uses: actions/node-action@main
with:
script: 'build.js'
- name: Push changes to webserver
uses: SamKirkland/FTP-Deploy-Action@v4.3.6
with:
server: ${{ vars.FTP_URL }}
username: ${{ vars.FTP_USERNAME }}
password: ${{ secrets.FTP_PASSWORD }}
local-dir: dist/
dry-run: true
server-dir: domains/beta.janishutz.com/public_html/