Поддержка Android в Download Center

This commit is contained in:
RoyceDa
2026-02-26 20:03:03 +02:00
parent de1c8b5c5a
commit 88ca9eb8ff
3 changed files with 59 additions and 6 deletions

36
.gitea/build.yaml Normal file
View File

@@ -0,0 +1,36 @@
name: Build and Publish Landing Page
on:
workflow_dispatch:
push:
branches:
- main
jobs:
build:
runs-on: macos
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Install Node.js
uses: actions/setup-node@v6
with:
node-version: '22'
- name: Install npm dependencies
run: npm install
- name: Build the landing page
run: npm run build
- name: Upload to SSH
uses: appleboy/scp-action@master
with:
host: ${{ secrets.LAND_SSH_HOST }}
username: ${{ secrets.LAND_SSH_USERNAME }}
password: ${{ secrets.LAND_SSH_PASSWORD }}
port: 22
source: "dist/*"
target: "/var/www/html"
rm: true