From 766a7081dbfcecc79a7a8fde79caf9cb63c087c7 Mon Sep 17 00:00:00 2001 From: tresabhi <43380238+tresabhi@users.noreply.github.com> Date: Wed, 27 Nov 2024 20:13:20 -0600 Subject: [PATCH] feat: rename workflows --- .github/workflows/{cd-assets.yml => assets.yml} | 2 +- .github/workflows/{cd-averages.yml => averages.yml} | 2 +- .github/workflows/{ci-build-bot.yml => build-bot.yml} | 4 ++-- .github/workflows/{cd-website.yml => build-website.yml} | 2 +- .../workflows/{cd-discover-ids.yml => discover-ids.yml} | 2 +- .github/workflows/{cd-host.yml => host-bot.yml} | 7 ++----- .github/workflows/{cd-rating-asia.yml => rating-asia.yml} | 2 +- .github/workflows/{cd-rating-eu.yml => rating-eu.yml} | 2 +- .../workflows/{cd-rating-latest.yml => rating-latest.yml} | 2 +- .github/workflows/{cd-rating-na.yml => rating-na.yml} | 2 +- 10 files changed, 12 insertions(+), 15 deletions(-) rename .github/workflows/{cd-assets.yml => assets.yml} (99%) rename .github/workflows/{cd-averages.yml => averages.yml} (98%) rename .github/workflows/{ci-build-bot.yml => build-bot.yml} (93%) rename .github/workflows/{cd-website.yml => build-website.yml} (98%) rename .github/workflows/{cd-discover-ids.yml => discover-ids.yml} (97%) rename .github/workflows/{cd-host.yml => host-bot.yml} (85%) rename .github/workflows/{cd-rating-asia.yml => rating-asia.yml} (96%) rename .github/workflows/{cd-rating-eu.yml => rating-eu.yml} (96%) rename .github/workflows/{cd-rating-latest.yml => rating-latest.yml} (96%) rename .github/workflows/{cd-rating-na.yml => rating-na.yml} (95%) diff --git a/.github/workflows/cd-assets.yml b/.github/workflows/assets.yml similarity index 99% rename from .github/workflows/cd-assets.yml rename to .github/workflows/assets.yml index b54481736..c7dc84617 100644 --- a/.github/workflows/cd-assets.yml +++ b/.github/workflows/assets.yml @@ -1,4 +1,4 @@ -name: CD Build Assets +name: Build Assets on: push: diff --git a/.github/workflows/cd-averages.yml b/.github/workflows/averages.yml similarity index 98% rename from .github/workflows/cd-averages.yml rename to .github/workflows/averages.yml index 33ee4e9c1..2f6939515 100644 --- a/.github/workflows/cd-averages.yml +++ b/.github/workflows/averages.yml @@ -1,4 +1,4 @@ -name: CD Averages +name: Averages on: workflow_dispatch: diff --git a/.github/workflows/ci-build-bot.yml b/.github/workflows/build-bot.yml similarity index 93% rename from .github/workflows/ci-build-bot.yml rename to .github/workflows/build-bot.yml index 3d040cf08..38f55b552 100644 --- a/.github/workflows/ci-build-bot.yml +++ b/.github/workflows/build-bot.yml @@ -1,4 +1,4 @@ -name: CI Build Bot +name: Build Bot on: workflow_dispatch: @@ -22,7 +22,7 @@ jobs: - name: Build Prisma run: bun prisma generate - - name: Build + - name: Build bot run: bun build:bot - name: Archive build diff --git a/.github/workflows/cd-website.yml b/.github/workflows/build-website.yml similarity index 98% rename from .github/workflows/cd-website.yml rename to .github/workflows/build-website.yml index d0064a0c2..3374e2b94 100644 --- a/.github/workflows/cd-website.yml +++ b/.github/workflows/build-website.yml @@ -1,4 +1,4 @@ -name: CD Website +name: Build Website on: push: diff --git a/.github/workflows/cd-discover-ids.yml b/.github/workflows/discover-ids.yml similarity index 97% rename from .github/workflows/cd-discover-ids.yml rename to .github/workflows/discover-ids.yml index 15034d11a..e70e2e39f 100644 --- a/.github/workflows/cd-discover-ids.yml +++ b/.github/workflows/discover-ids.yml @@ -1,4 +1,4 @@ -name: CD Discover IDs +name: Discover IDs on: workflow_dispatch: diff --git a/.github/workflows/cd-host.yml b/.github/workflows/host-bot.yml similarity index 85% rename from .github/workflows/cd-host.yml rename to .github/workflows/host-bot.yml index 7b355c56b..5af2f907e 100644 --- a/.github/workflows/cd-host.yml +++ b/.github/workflows/host-bot.yml @@ -1,4 +1,4 @@ -name: CD Host +name: Host Bot on: push: @@ -39,7 +39,4 @@ jobs: DATABASE_URL: ${{ secrets.DATABASE_URL }} DISCORD_CLIENT_ID: ${{ secrets.DISCORD_CLIENT_ID }} run: | - mv dist/bot/prisma . - mv dist/bot/node_modules . - mv dist/bot/package.json . - bun dist/bot/index.js --production + bun dist/bot/main.js diff --git a/.github/workflows/cd-rating-asia.yml b/.github/workflows/rating-asia.yml similarity index 96% rename from .github/workflows/cd-rating-asia.yml rename to .github/workflows/rating-asia.yml index f43bbe358..6d6baca38 100644 --- a/.github/workflows/cd-rating-asia.yml +++ b/.github/workflows/rating-asia.yml @@ -1,4 +1,4 @@ -name: CD Rating Asia +name: Rating Asia on: workflow_dispatch: diff --git a/.github/workflows/cd-rating-eu.yml b/.github/workflows/rating-eu.yml similarity index 96% rename from .github/workflows/cd-rating-eu.yml rename to .github/workflows/rating-eu.yml index c9809ef1c..b52e1d1fa 100644 --- a/.github/workflows/cd-rating-eu.yml +++ b/.github/workflows/rating-eu.yml @@ -1,4 +1,4 @@ -name: CD Rating Europe +name: Rating Europe on: workflow_dispatch: diff --git a/.github/workflows/cd-rating-latest.yml b/.github/workflows/rating-latest.yml similarity index 96% rename from .github/workflows/cd-rating-latest.yml rename to .github/workflows/rating-latest.yml index 15fcc74b0..bf510d0eb 100644 --- a/.github/workflows/cd-rating-latest.yml +++ b/.github/workflows/rating-latest.yml @@ -1,4 +1,4 @@ -name: CD Rating Latest +name: Rating Latest on: workflow_dispatch: diff --git a/.github/workflows/cd-rating-na.yml b/.github/workflows/rating-na.yml similarity index 95% rename from .github/workflows/cd-rating-na.yml rename to .github/workflows/rating-na.yml index b181be7c8..72f3337fc 100644 --- a/.github/workflows/cd-rating-na.yml +++ b/.github/workflows/rating-na.yml @@ -1,4 +1,4 @@ -name: CD Rating North America +name: Rating North America on: workflow_dispatch: