Finish migrate to new repo
Build and upload website update / build-and-upload (push) Failing after 6s

This commit is contained in:
2026-04-03 15:36:12 +02:00
commit b27b4da3f2
75 changed files with 5227 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
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
with:
ref: main
- name: Run node build
uses: actions/node-action@main
with:
script: 'build.js'
- name: Push changes to webserver
uses: actions/ftp-deploy@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/