mirror of
https://github.com/tinyhumansai/openhuman.git
synced 2026-07-30 23:14:37 +00:00
Update subproject reference and clean up GitHub Actions workflows
- Updated the subproject reference in the `skills` file to the latest commit. - Standardized quotes in the `deploy-gh-pages.yml` and `package-android.yml` workflows for consistency. - Removed unused Telegram API credentials from environment variables in workflows and example configuration files to streamline the setup.
This commit is contained in:
@@ -2,7 +2,7 @@ name: Deploy to GitHub Pages
|
||||
|
||||
on:
|
||||
workflow_run:
|
||||
workflows: ['Version Bump']
|
||||
workflows: ["Version Bump"]
|
||||
types:
|
||||
- completed
|
||||
branches:
|
||||
@@ -32,7 +32,7 @@ jobs:
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 20.x
|
||||
cache: 'yarn'
|
||||
cache: "yarn"
|
||||
|
||||
- name: Install dependencies
|
||||
run: yarn install --frozen-lockfile
|
||||
@@ -44,8 +44,6 @@ jobs:
|
||||
VITE_BACKEND_URL: ${{ vars.VITE_BACKEND_URL }}
|
||||
VITE_TELEGRAM_BOT_USERNAME: ${{ secrets.VITE_TELEGRAM_BOT_USERNAME }}
|
||||
VITE_TELEGRAM_BOT_ID: ${{ secrets.VITE_TELEGRAM_BOT_ID }}
|
||||
VITE_TELEGRAM_API_ID: ${{ secrets.VITE_TELEGRAM_API_ID }}
|
||||
VITE_TELEGRAM_API_HASH: ${{ secrets.VITE_TELEGRAM_API_HASH }}
|
||||
VITE_SENTRY_DSN: ${{ secrets.VITE_SENTRY_DSN }}
|
||||
VITE_SKILLS_GITHUB_REPO: ${{ vars.VITE_SKILLS_GITHUB_REPO }}
|
||||
VITE_SKILLS_GITHUB_TOKEN: ${{ secrets.VITE_SKILLS_GITHUB_TOKEN }}
|
||||
@@ -58,11 +56,11 @@ jobs:
|
||||
external_repository: alphahumanxyz/alphahuman
|
||||
publish_dir: ./dist
|
||||
publish_branch: gh-pages
|
||||
commit_message: 'chore: deploy to gh-pages [skip ci]'
|
||||
user_name: 'github-actions[bot]'
|
||||
commit_message: "chore: deploy to gh-pages [skip ci]"
|
||||
user_name: "github-actions[bot]"
|
||||
cname: app.alphahuman.xyz
|
||||
force_orphan: true
|
||||
user_email: 'github-actions[bot]@users.noreply.github.com'
|
||||
user_email: "github-actions[bot]@users.noreply.github.com"
|
||||
|
||||
- name: Update GH repo
|
||||
uses: peaceiris/actions-gh-pages@v4
|
||||
@@ -71,6 +69,6 @@ jobs:
|
||||
external_repository: alphahumanxyz/alphahuman
|
||||
publish_dir: ./publish
|
||||
publish_branch: main
|
||||
user_name: 'github-actions[bot]'
|
||||
user_email: 'github-actions[bot]@users.noreply.github.com'
|
||||
commit_message: 'chore: update main branch [skip ci]'
|
||||
user_name: "github-actions[bot]"
|
||||
user_email: "github-actions[bot]@users.noreply.github.com"
|
||||
commit_message: "chore: update main branch [skip ci]"
|
||||
|
||||
@@ -195,8 +195,6 @@ jobs:
|
||||
VITE_BACKEND_URL: ${{ vars.VITE_BACKEND_URL }}
|
||||
VITE_TELEGRAM_BOT_USERNAME: ${{ secrets.VITE_TELEGRAM_BOT_USERNAME }}
|
||||
VITE_TELEGRAM_BOT_ID: ${{ secrets.VITE_TELEGRAM_BOT_ID }}
|
||||
VITE_TELEGRAM_API_ID: ${{ secrets.VITE_TELEGRAM_API_ID }}
|
||||
VITE_TELEGRAM_API_HASH: ${{ secrets.VITE_TELEGRAM_API_HASH }}
|
||||
VITE_SENTRY_DSN: ${{ secrets.VITE_SENTRY_DSN }}
|
||||
VITE_SKILLS_GITHUB_REPO: ${{ vars.VITE_SKILLS_GITHUB_REPO }}
|
||||
VITE_DEBUG: ${{ vars.VITE_DEBUG }}
|
||||
|
||||
@@ -15,8 +15,6 @@
|
||||
"APPLE_TEAM_ID": "",
|
||||
"VITE_TELEGRAM_BOT_USERNAME": "",
|
||||
"VITE_TELEGRAM_BOT_ID": "",
|
||||
"VITE_TELEGRAM_API_ID": "",
|
||||
"VITE_TELEGRAM_API_HASH": "",
|
||||
"VITE_SENTRY_DSN": ""
|
||||
},
|
||||
"vars": {
|
||||
|
||||
+1
-1
Submodule skills updated: 4905daf9e8...3112738083
@@ -117,8 +117,6 @@ pub struct WebSocketState {
|
||||
|
||||
pub const ALLOWED_ENV_VARS: &[&str] = &[
|
||||
"VITE_BACKEND_URL",
|
||||
"VITE_TELEGRAM_API_ID",
|
||||
"VITE_TELEGRAM_API_HASH",
|
||||
"VITE_TELEGRAM_BOT_USERNAME",
|
||||
"VITE_TELEGRAM_BOT_ID",
|
||||
"NODE_ENV",
|
||||
|
||||
@@ -5,12 +5,6 @@ export const TELEGRAM_BOT_USERNAME =
|
||||
|
||||
export const TELEGRAM_BOT_ID = import.meta.env.VITE_TELEGRAM_BOT_ID || '8043922470';
|
||||
|
||||
export const TELEGRAM_API_ID = import.meta.env.VITE_TELEGRAM_API_ID
|
||||
? Number(import.meta.env.VITE_TELEGRAM_API_ID)
|
||||
: undefined;
|
||||
|
||||
export const TELEGRAM_API_HASH = import.meta.env.VITE_TELEGRAM_API_HASH || undefined;
|
||||
|
||||
export const IS_DEV = Boolean(import.meta.env.DEV) || import.meta.env.MODE === 'development';
|
||||
|
||||
export const SKILLS_GITHUB_REPO = import.meta.env.VITE_SKILLS_GITHUB_REPO || 'alphahumanxyz/skills';
|
||||
|
||||
Reference in New Issue
Block a user