workflow: push builds
This commit is contained in:
parent
dbdfb11f85
commit
9158ec2c71
4 changed files with 7 additions and 7 deletions
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
|
|
@ -1,7 +1,7 @@
|
|||
name: Build
|
||||
on:
|
||||
push:
|
||||
branches: [rewrite]
|
||||
branches: [main]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
|
@ -12,9 +12,9 @@ jobs:
|
|||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
repository: "vendetta-mod/builds"
|
||||
repository: "pyoncord/detta-builds"
|
||||
path: "builds"
|
||||
token: ${{ secrets.BEEF_TOKEN }}
|
||||
token: ${{ secrets.PYLIX_TOKEN }}
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16
|
||||
|
|
@ -40,5 +40,5 @@ jobs:
|
|||
|
||||
- name: Purge CDN cache
|
||||
run: |
|
||||
curl https://purge.jsdelivr.net/gh/vendetta-mod/builds
|
||||
curl https://purge.jsdelivr.net/gh/pyoncord/detta-builds
|
||||
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ try {
|
|||
minify: isRelease,
|
||||
format: "iife",
|
||||
target: "esnext",
|
||||
outfile: "dist/pyoncord.js",
|
||||
outfile: "dist/pyondetta.js",
|
||||
keepNames: true,
|
||||
define: {
|
||||
__vendettaIsDev: `${!isRelease}`,
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
import { ClientInfoManager } from "@lib/native";
|
||||
|
||||
// This logs in the native logging implementation, e.g. logcat
|
||||
console.log("Hello from Pyon-ified Vendetta!");
|
||||
console.log("Hello from Pyondetta!");
|
||||
|
||||
// Make 'freeze' and 'seal' do nothing
|
||||
Object.freeze = Object;
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@ export async function evalPlugin(plugin: Plugin) {
|
|||
// Wrapping this with wrapSync is NOT an option.
|
||||
storage: await createStorage<Record<string, any>>(createMMKVBackend(plugin.id)),
|
||||
},
|
||||
logger: new logModule(`Vendetta » ${plugin.manifest.name}`),
|
||||
logger: new logModule(`Pyondetta » ${plugin.manifest.name}`),
|
||||
};
|
||||
const pluginString = `vendetta=>{return ${plugin.js}}\n//# sourceURL=${plugin.id}`;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue