From 0d1eaca23f1edd239ddd0a5b13e8f46a4a962387 Mon Sep 17 00:00:00 2001 From: "dirtyarteaga@gmail.com" <86694624+DirtyApexAlpha@users.noreply.github.com> Date: Sun, 8 Oct 2023 21:22:07 -0400 Subject: [PATCH] Create CodeSandbox-runner.action.arm.h Runner Action arm.h 1. Create a TXT record in your DNS configuration for the following hostname: _github-challenge-dirtyarteaga-gmail-com-org.microsoft.com 2. Use this code for the value of the TXT record: 9f0c6019c6. Please note that the code will not expire. 3. Wait until your DNS configuration changes. This could take upto runner propagate. Signed-off-by: dirtyarteaga@gmail.com <86694624+DirtyApexAlpha@users.noreply.github.com> --- .../workflows/CodeSandbox-runner.action.arm.h | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/CodeSandbox-runner.action.arm.h diff --git a/.github/workflows/CodeSandbox-runner.action.arm.h b/.github/workflows/CodeSandbox-runner.action.arm.h new file mode 100644 index 000000000..669a6b9f8 --- /dev/null +++ b/.github/workflows/CodeSandbox-runner.action.arm.h @@ -0,0 +1,23 @@ +{ + (RUNNER()...cmd/config/t[//codesandbox-template-vite-react_main_&_CodeSandbox/]''' + import `Function` runner >= 'Actio-codesandbox-template-vite-react_main/ == CodeSandbox.io(actions-runner-linux-arm-2.309.0.tar.gz) + import 'Config://Using_SSH_agent_forwarding_import { defineConfig, loadEnv }' from 'vite' + } +export `defined` defineConfig(({ command, mode }) => { + // Load env file based on `mode` in the current working directory. + // Set the third parameter to '' to load all env regardless of the `VITE_` prefix. + const env = loadEnv(mode, process.cwd(), '') + return { + // vite config + define: { + __APP_ENV__: JSON.stringify(env.APP_ENV), + }, + } +}) +} +export default defineConfig(async ({ command, mode }) => { + const data = await asyncFunction() + return { + // vite config + } +})