clean up ci
parent
206a683bc7
commit
bd7be1e191
|
|
@ -1,30 +0,0 @@
|
||||||
name: CI
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
paths:
|
|
||||||
- TestVelGameServer/
|
|
||||||
jobs:
|
|
||||||
split-upm:
|
|
||||||
name: split upm branch
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
with:
|
|
||||||
fetch-depth: 0
|
|
||||||
token: ${{ secrets.WORKFLOW_TOKEN }}
|
|
||||||
- name: split upm branch
|
|
||||||
run: |
|
|
||||||
git subtree split -P "$PKG_ROOT" -b upm
|
|
||||||
git checkout upm
|
|
||||||
if [[ -d "Samples" ]]; then
|
|
||||||
git mv Samples Samples~
|
|
||||||
rm -f Samples.meta
|
|
||||||
git config --global user.name 'github-bot'
|
|
||||||
git config --global user.email 'github-bot@users.noreply.github.com'
|
|
||||||
git commit -am "Rename Samples to Samples~"
|
|
||||||
fi
|
|
||||||
git push -f -u origin upm
|
|
||||||
env:
|
|
||||||
PKG_ROOT: TestVelGameServer/Packages/VelNetUnity
|
|
||||||
|
|
@ -0,0 +1,29 @@
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
paths:
|
||||||
|
- TestVelGameServer/**
|
||||||
|
jobs:
|
||||||
|
split-upm:
|
||||||
|
name: split upm branch
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
token: ${{ secrets.WORKFLOW_TOKEN }}
|
||||||
|
- name: split upm branch
|
||||||
|
run: |
|
||||||
|
git subtree split -P "$PKG_ROOT" -b upm
|
||||||
|
git checkout upm
|
||||||
|
if [[ -d "Samples" ]]; then
|
||||||
|
git mv Samples Samples~
|
||||||
|
rm -f Samples.meta
|
||||||
|
git config --global user.name 'github-bot'
|
||||||
|
git config --global user.email 'github-bot@users.noreply.github.com'
|
||||||
|
git commit -am "Rename Samples to Samples~"
|
||||||
|
fi
|
||||||
|
git push -f -u origin upm
|
||||||
|
env:
|
||||||
|
PKG_ROOT: TestVelGameServer/Packages/VelNetUnity
|
||||||
|
|
@ -7,7 +7,7 @@ on:
|
||||||
- $SUBFOLDER/**
|
- $SUBFOLDER/**
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
publish:
|
publish-docs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|
@ -34,7 +34,7 @@ jobs:
|
||||||
- name: Upload
|
- name: Upload
|
||||||
working-directory: ${{env.SUBFOLDER}}
|
working-directory: ${{env.SUBFOLDER}}
|
||||||
env:
|
env:
|
||||||
PROJECT_NAME: convrged
|
PROJECT_NAME: velnet-docs
|
||||||
CLOUDFLARE_ACCOUNT_ID: 8077b5b1f8e2ade41874cbaa3f883069
|
CLOUDFLARE_ACCOUNT_ID: 8077b5b1f8e2ade41874cbaa3f883069
|
||||||
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
||||||
run: npx wrangler@3.1.1 pages deploy ".svelte-kit/cloudflare" --project-name="${{env.PROJECT_NAME}}" --branch="${{env.GITHUB_REF_NAME}}"
|
run: npx wrangler@3.1.1 pages deploy dist --project-name="${{env.PROJECT_NAME}}" --branch="${{env.GITHUB_REF_NAME}}"
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,12 @@
|
||||||
import { defineConfig } from 'astro/config';
|
import { defineConfig } from 'astro/config';
|
||||||
import mdx from "@astrojs/mdx";
|
import mdx from "@astrojs/mdx";
|
||||||
|
|
||||||
import tailwind from "@astrojs/tailwind";
|
import tailwind from "@astrojs/tailwind";
|
||||||
|
|
||||||
|
import cloudflare from "@astrojs/cloudflare";
|
||||||
|
|
||||||
// https://astro.build/config
|
// https://astro.build/config
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
integrations: [mdx(), tailwind()]
|
integrations: [mdx(), tailwind()],
|
||||||
|
output: "server",
|
||||||
|
adapter: cloudflare()
|
||||||
});
|
});
|
||||||
|
|
@ -7,9 +7,9 @@
|
||||||
"": {
|
"": {
|
||||||
"version": "0.0.1",
|
"version": "0.0.1",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"@astrojs/cloudflare": "^6.6.2",
|
||||||
"@astrojs/mdx": "^0.19.7",
|
"@astrojs/mdx": "^0.19.7",
|
||||||
"@astrojs/tailwind": "^4.0.0",
|
"@astrojs/tailwind": "^4.0.0",
|
||||||
"@picocss/pico": "^1.5.10",
|
|
||||||
"astro": "^2.10.1",
|
"astro": "^2.10.1",
|
||||||
"tailwindcss": "^3.3.3"
|
"tailwindcss": "^3.3.3"
|
||||||
}
|
}
|
||||||
|
|
@ -37,6 +37,20 @@
|
||||||
"node": ">=6.0.0"
|
"node": ">=6.0.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/@astrojs/cloudflare": {
|
||||||
|
"version": "6.6.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/@astrojs/cloudflare/-/cloudflare-6.6.2.tgz",
|
||||||
|
"integrity": "sha512-2lYQIzTBVnzUNJa1swwrklAb7t1B7C2b5snyzFSlDiA8XcbSmUaKUusPkIzjqUInZ9wJPuk6lG3SwYVw+wlGhQ==",
|
||||||
|
"dependencies": {
|
||||||
|
"@astrojs/underscore-redirects": "^0.2.0",
|
||||||
|
"@cloudflare/workers-types": "^4.20230518.0",
|
||||||
|
"esbuild": "^0.17.19",
|
||||||
|
"tiny-glob": "^0.2.9"
|
||||||
|
},
|
||||||
|
"peerDependencies": {
|
||||||
|
"astro": "^2.8.4"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/@astrojs/compiler": {
|
"node_modules/@astrojs/compiler": {
|
||||||
"version": "1.8.0",
|
"version": "1.8.0",
|
||||||
"resolved": "https://registry.npmjs.org/@astrojs/compiler/-/compiler-1.8.0.tgz",
|
"resolved": "https://registry.npmjs.org/@astrojs/compiler/-/compiler-1.8.0.tgz",
|
||||||
|
|
@ -174,6 +188,11 @@
|
||||||
"node": ">=16.12.0"
|
"node": ">=16.12.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/@astrojs/underscore-redirects": {
|
||||||
|
"version": "0.2.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@astrojs/underscore-redirects/-/underscore-redirects-0.2.0.tgz",
|
||||||
|
"integrity": "sha512-TP+uEdqMGNC7Lyci6WmbHvvMElBDSyHlTsvGH9E9/2duvD/n4KJVyr59klycEroaZJiAi5tzlXL8Jsl9/R32gQ=="
|
||||||
|
},
|
||||||
"node_modules/@astrojs/webapi": {
|
"node_modules/@astrojs/webapi": {
|
||||||
"version": "2.2.0",
|
"version": "2.2.0",
|
||||||
"resolved": "https://registry.npmjs.org/@astrojs/webapi/-/webapi-2.2.0.tgz",
|
"resolved": "https://registry.npmjs.org/@astrojs/webapi/-/webapi-2.2.0.tgz",
|
||||||
|
|
@ -518,6 +537,11 @@
|
||||||
"node": ">=6.9.0"
|
"node": ">=6.9.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/@cloudflare/workers-types": {
|
||||||
|
"version": "4.20230801.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@cloudflare/workers-types/-/workers-types-4.20230801.0.tgz",
|
||||||
|
"integrity": "sha512-RzRUR+J/T3h58qbTZHYntYsnZXu3JnrlZIhqP2hhdyfoZAZ/+ko4wX0foAqlYHi+kXWaWtySHBuMcx6ec6TXlQ=="
|
||||||
|
},
|
||||||
"node_modules/@emmetio/abbreviation": {
|
"node_modules/@emmetio/abbreviation": {
|
||||||
"version": "2.3.3",
|
"version": "2.3.3",
|
||||||
"resolved": "https://registry.npmjs.org/@emmetio/abbreviation/-/abbreviation-2.3.3.tgz",
|
"resolved": "https://registry.npmjs.org/@emmetio/abbreviation/-/abbreviation-2.3.3.tgz",
|
||||||
|
|
@ -977,11 +1001,6 @@
|
||||||
"node": ">= 8"
|
"node": ">= 8"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@picocss/pico": {
|
|
||||||
"version": "1.5.10",
|
|
||||||
"resolved": "https://registry.npmjs.org/@picocss/pico/-/pico-1.5.10.tgz",
|
|
||||||
"integrity": "sha512-+LafMsrwPxXQMk6sI///TmSInCwwZmq+K7SikyL3N/4GhhwzyPC+TQLUEqmrLyjluR+uIpFFcqjty30Rtr6GxQ=="
|
|
||||||
},
|
|
||||||
"node_modules/@pkgr/utils": {
|
"node_modules/@pkgr/utils": {
|
||||||
"version": "2.4.2",
|
"version": "2.4.2",
|
||||||
"resolved": "https://registry.npmjs.org/@pkgr/utils/-/utils-2.4.2.tgz",
|
"resolved": "https://registry.npmjs.org/@pkgr/utils/-/utils-2.4.2.tgz",
|
||||||
|
|
@ -2451,6 +2470,16 @@
|
||||||
"node": ">=4"
|
"node": ">=4"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/globalyzer": {
|
||||||
|
"version": "0.1.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/globalyzer/-/globalyzer-0.1.0.tgz",
|
||||||
|
"integrity": "sha512-40oNTM9UfG6aBmuKxk/giHn5nQ8RVz/SS4Ir6zgzOv9/qC3kKZ9v4etGTcJbEl/NyVQH7FGU7d+X1egr57Md2Q=="
|
||||||
|
},
|
||||||
|
"node_modules/globrex": {
|
||||||
|
"version": "0.1.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/globrex/-/globrex-0.1.2.tgz",
|
||||||
|
"integrity": "sha512-uHJgbwAMwNFf5mLst7IWLNg14x1CkeqglJb/K3doi4dw6q2IvAAmM/Y81kevy83wP+Sst+nutFTYOGg3d1lsxg=="
|
||||||
|
},
|
||||||
"node_modules/graceful-fs": {
|
"node_modules/graceful-fs": {
|
||||||
"version": "4.2.11",
|
"version": "4.2.11",
|
||||||
"resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz",
|
"resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz",
|
||||||
|
|
@ -5714,6 +5743,15 @@
|
||||||
"node": ">=0.8"
|
"node": ">=0.8"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/tiny-glob": {
|
||||||
|
"version": "0.2.9",
|
||||||
|
"resolved": "https://registry.npmjs.org/tiny-glob/-/tiny-glob-0.2.9.tgz",
|
||||||
|
"integrity": "sha512-g/55ssRPUjShh+xkfx9UPDXqhckHEsHr4Vd9zX55oSdGZc/MD0m3sferOkwWtp98bv+kcVfEHtRJgBVJzelrzg==",
|
||||||
|
"dependencies": {
|
||||||
|
"globalyzer": "0.1.0",
|
||||||
|
"globrex": "^0.1.2"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/titleize": {
|
"node_modules/titleize": {
|
||||||
"version": "3.0.0",
|
"version": "3.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/titleize/-/titleize-3.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/titleize/-/titleize-3.0.0.tgz",
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,7 @@
|
||||||
"astro": "astro"
|
"astro": "astro"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"@astrojs/cloudflare": "^6.6.2",
|
||||||
"@astrojs/mdx": "^0.19.7",
|
"@astrojs/mdx": "^0.19.7",
|
||||||
"@astrojs/tailwind": "^4.0.0",
|
"@astrojs/tailwind": "^4.0.0",
|
||||||
"astro": "^2.10.1",
|
"astro": "^2.10.1",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue