This commit is contained in:
kyle-admin
2025-10-27 03:05:52 -07:00
parent 37ba913a0c
commit 779f36f64b
7 changed files with 74 additions and 3 deletions

0
.dockerignore Normal file
View File

View File

@@ -0,0 +1,28 @@
name: Deploy to Cloudflare Pages
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '18'
- name: Install Wrangler
run: npm install -g wrangler
- name: Authenticate with Cloudflare
run: wrangler auth login --api-token ${{ secrets.CLOUDFLARE_API_TOKEN }}
- name: Deploy to Pages
run: wrangler pages deploy dist --project-name test --branch master
# Replace 'dist' with your build output directory (e.g., 'build' for React).
# If building is needed, add a step like: run: npm run build

View File

@@ -1,3 +1,2 @@
# sample.shareforge.de
Sample Service
# Sample Service Template
This is a sample template for the shareforge service that uses auto deployment and api to deploy

2
root/docs/index.md Normal file
View File

@@ -0,0 +1,2 @@
# This is a sample page
This is sample text learn more about markdown syntax [Here](https://www.markdownguide.org/basic-syntax/)

28
root/mkdocs.yml Normal file
View File

@@ -0,0 +1,28 @@
theme:
name: material
palette:
# Light mode (optional; can be toggled off if you want dark-only)
- scheme: default
primary: indigo
accent: cyan
toggle:
icon: material/brightness-7
name: Switch to dark mode
# Dark mode (default)
- scheme: slate
primary: indigo
accent: cyan
toggle:
icon: material/brightness-4
name: Switch to light mode
features:
- content.code.copy
- navigation.instant
- search.suggest
- search.highlight
- navigation.sections
# At the end we will add the site title when the script runs

2
root/requirements.txt Normal file
View File

@@ -0,0 +1,2 @@
mkdocs
mkdocs-material

12
start.sh Normal file
View File

@@ -0,0 +1,12 @@
#!/bin/bash
echo ""
echo "${BLUE} ____ __. .__ _________ .__ .__ __ ";
echo "${BLUE}| |/ _|___.__.| | ____ / _____/_____ ____ |__| ____ | |___/ |_ ";
echo "${BLUE}| < < | || | _/ __ \\ \\_____ \\\\____ \\_/ __ \\| |/ ___\\| | \\ __\\ "
echo "${BLUE}| | \\ \\___ || |_\\ ___/ / \\ |_> > ___/| / /_/ > Y \\ | "
echo "${BLUE}|____|__ \\/ ____||____/\\___ > /_______ / __/ \\___ >__\\___ /|___| /__| "
echo "${BLUE} \\/\\/ \\/ \\/|__| \\/ /_____/ \\/ "
echo "${GREEN}╔════════════════════════════════════════════════════════════════════════════════╗"
echo "${GREEN}║ 🮲🮳 Shareforge Script By Kyle Speight 2026 Copyright 🮲🮳 ║"
echo "${GREEN}╚════════════════════════════════════════════════════════════════════════════════╝"