HASH 0e648e47001e
DATE 2026-01-26
SUBJECT ci: remove old workflows
FILES 2 CHANGED
HASH 0e648e47001e
DATE 2026-01-26
SUBJECT ci: remove old workflows
FILES 2 CHANGED
┌─ .github/workflows/vercel-build-deploy-preview.yml ────────────────────────┐
│ diff --git a/.github/workflows/vercel-build-deploy-preview.yml b/.github/workflows │
│ /vercel-build-deploy-preview.yml │
│ deleted file mode 100644 │
│ index 80f1e3f..0000000 │
│ --- a/.github/workflows/vercel-build-deploy-preview.yml │
│ +++ /dev/null │
│ @@ -1,85 +0,0 @@ │
│ -name: GitHub Actions Vercel Preview Deployment │
│ -env: │
│ - VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }} │
│ - VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }} │
│ -on: │
│ - workflow_dispatch: │
│ - │
│ -permissions: │
│ - contents: read │
│ - pages: write │
│ - id-token: write │
│ - │
│ -jobs: │
│ - Deploy-Preview: │
│ - runs-on: ubuntu-latest │
│ - steps: │
│ - - name: Checkout repo │
│ - uses: actions/checkout@v3 │
│ - with: │
│ - token: ${{ secrets.GITHUB_TOKEN }} │
│ - │
│ - - name: Install Nix │
│ - uses: cachix/install-nix-action@v22 │
│ - │
│ - - name: Authenticate with Blizzard API │
│ - id: blizzard_auth │
│ - run: | │
│ - echo "Authenticating with Blizzard API..." │
│ - │
│ - # Get OAuth token using client credentials flow │
│ - RESPONSE=$(curl -s -X POST "https://oauth.battle.net/token" \ │
│ - -H "Content-Type: application/x-www-form-urlencoded" \ │
│ - -d "grant_type=client_credentials" \ │
│ - -u "${{ secrets.BLIZZARD_CLIENT_ID }}:${{ secrets.BLIZZARD_CLIENT_SEC │
│ RET }}") │
│ - │
│ - # Extract access token from response │
│ - ACCESS_TOKEN=$(echo "$RESPONSE" | jq -r '.access_token') │
│ - │
│ - if [ "$ACCESS_TOKEN" = "null" ] || [ -z "$ACCESS_TOKEN" ]; then │
│ - echo "Failed to authenticate with Blizzard API - check client credent │
│ ials" │
│ - exit 1 │
│ - fi │
│ - │
│ - # Mask the token in logs to prevent exposure │
│ - echo "::add-mask::$ACCESS_TOKEN" │
│ - │
│ - echo "Successfully authenticated with Blizzard API" │
│ - echo "BLIZZARD_API_TOKEN=$ACCESS_TOKEN" >> $GITHUB_ENV │
│ - │
│ - - name: Build API │
│ - run: | │
│ - nix run . build -- \ │
│ - --out web/public \ │
│ - --from-scratch \ │
│ - --regions us,eu,kr \ │
│ - --page-size 25 \ │
│ - --shard-size 5000 \ │
│ - --concurrency 20 │
│ - │
│ - - name: Setup Node.js │
│ - uses: actions/setup-node@v4 │
│ - with: │
│ - node-version: '22' │
│ - cache: 'npm' │
│ - cache-dependency-path: web/package-lock.json │
│ - │
│ - - name: Install web dependencies │
│ - run: | │
│ - cd web │
│ - npm ci │
│ - │
│ - - name: Install Vercel CLI │
│ - run: npm i -g vercel@canary │
│ - - name: Vercel pull │
│ - run: | │
│ - cd web │
│ - vercel pull --yes --environment=preview --token=${{ secrets.VERCEL_TOKE │
│ N }} │
│ - - name: Vercel build │
│ - run: | │
│ - cd web │
│ - vercel build --token=${{ secrets.VERCEL_TOKEN }} │
│ - - name: Vercel Deploy │
│ - run: | │
│ - cd web │
│ - vercel deploy --prebuilt --archive=tgz --token=${{ secrets.VERCEL_TOKEN │
│ }} │
└────────────────────────────────────────────────────────────────────────────────────┘
┌─ ...rcel-build-deploy-preview.yml ───┐
│ diff --git a/.github/workflows/vercel-build- │
│ deploy-preview.yml b/.github/workflows/verce │
│ l-build-deploy-preview.yml │
│ deleted file mode 100644 │
│ index 80f1e3f..0000000 │
│ --- a/.github/workflows/vercel-build-deploy- │
│ preview.yml │
│ +++ /dev/null │
│ @@ -1,85 +0,0 @@ │
│ -name: GitHub Actions Vercel Preview Deploym │
│ ent │
│ -env: │
│ - VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID │
│ }} │
│ - VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PRO │
│ JECT_ID }} │
│ -on: │
│ - workflow_dispatch: │
│ - │
│ -permissions: │
│ - contents: read │
│ - pages: write │
│ - id-token: write │
│ - │
│ -jobs: │
│ - Deploy-Preview: │
│ - runs-on: ubuntu-latest │
│ - steps: │
│ - - name: Checkout repo │
│ - uses: actions/checkout@v3 │
│ - with: │
│ - token: ${{ secrets.GITHUB_TOKEN } │
│ } │
│ - │
│ - - name: Install Nix │
│ - uses: cachix/install-nix-action@v22 │
│ - │
│ - - name: Authenticate with Blizzard AP │
│ I │
│ - id: blizzard_auth │
│ - run: | │
│ - echo "Authenticating with Blizzar │
│ d API..." │
│ - │
│ - # Get OAuth token using client cr │
│ edentials flow │
│ - RESPONSE=$(curl -s -X POST "https │
│ ://oauth.battle.net/token" \ │
│ - -H "Content-Type: application/x │
│ -www-form-urlencoded" \ │
│ - -d "grant_type=client_credentia │
│ ls" \ │
│ - -u "${{ secrets.BLIZZARD_CLIENT │
│ _ID }}:${{ secrets.BLIZZARD_CLIENT_SECRET }} │
│ ") │
│ - │
│ - # Extract access token from respo │
│ nse │
│ - ACCESS_TOKEN=$(echo "$RESPONSE" | │
│ jq -r '.access_token') │
│ - │
│ - if [ "$ACCESS_TOKEN" = "null" ] | │
│ | [ -z "$ACCESS_TOKEN" ]; then │
│ - echo "Failed to authenticate wi │
│ th Blizzard API - check client credentials" │
│ - exit 1 │
│ - fi │
│ - │
│ - # Mask the token in logs to preve │
│ nt exposure │
│ - echo "::add-mask::$ACCESS_TOKEN" │
│ - │
│ - echo "Successfully authenticated │
│ with Blizzard API" │
│ - echo "BLIZZARD_API_TOKEN=$ACCESS_ │
│ TOKEN" >> $GITHUB_ENV │
│ - │
│ - - name: Build API │
│ - run: | │
│ - nix run . build -- \ │
│ - --out web/public \ │
│ - --from-scratch \ │
│ - --regions us,eu,kr \ │
│ - --page-size 25 \ │
│ - --shard-size 5000 \ │
│ - --concurrency 20 │
│ - │
│ - - name: Setup Node.js │
│ - uses: actions/setup-node@v4 │
│ - with: │
│ - node-version: '22' │
│ - cache: 'npm' │
│ - cache-dependency-path: web/packag │
│ e-lock.json │
│ - │
│ - - name: Install web dependencies │
│ - run: | │
│ - cd web │
│ - npm ci │
│ - │
│ - - name: Install Vercel CLI │
│ - run: npm i -g vercel@canary │
│ - - name: Vercel pull │
│ - run: | │
│ - cd web │
│ - vercel pull --yes --environment=p │
│ review --token=${{ secrets.VERCEL_TOKEN }} │
│ - - name: Vercel build │
│ - run: | │
│ - cd web │
│ - vercel build --token=${{ secrets. │
│ VERCEL_TOKEN }} │
│ - - name: Vercel Deploy │
│ - run: | │
│ - cd web │
│ - vercel deploy --prebuilt --archiv │
│ e=tgz --token=${{ secrets.VERCEL_TOKEN }} │
└──────────────────────────────────────────────┘
┌─ .github/workflows/vercel-build-deploy-prod.yml.old ───────────────────────┐
│ diff --git a/.github/workflows/vercel-build-deploy-prod.yml.old b/.github/workflow │
│ s/vercel-build-deploy-prod.yml.old │
│ deleted file mode 100644 │
│ index 7d64966..0000000 │
│ --- a/.github/workflows/vercel-build-deploy-prod.yml.old │
│ +++ /dev/null │
│ @@ -1,87 +0,0 @@ │
│ -name: Vercel deploy prod │
│ -env: │
│ - VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }} │
│ - VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }} │
│ -on: │
│ - workflow_dispatch: │
│ - schedule: │
│ - - cron: "0 */2 * * *" │
│ - │
│ -permissions: │
│ - contents: read │
│ - pages: write │
│ - id-token: write │
│ - │
│ -jobs: │
│ - Deploy-Preview: │
│ - runs-on: ubuntu-latest │
│ - steps: │
│ - - name: Checkout repo │
│ - uses: actions/checkout@v3 │
│ - with: │
│ - token: ${{ secrets.GITHUB_TOKEN }} │
│ - │
│ - - name: Install Nix │
│ - uses: cachix/install-nix-action@v22 │
│ - │
│ - - name: Authenticate with Blizzard API │
│ - id: blizzard_auth │
│ - run: | │
│ - echo "Authenticating with Blizzard API..." │
│ - │
│ - # Get OAuth token using client credentials flow │
│ - RESPONSE=$(curl -s -X POST "https://oauth.battle.net/token" \ │
│ - -H "Content-Type: application/x-www-form-urlencoded" \ │
│ - -d "grant_type=client_credentials" \ │
│ - -u "${{ secrets.BLIZZARD_CLIENT_ID }}:${{ secrets.BLIZZARD_CLIENT_SEC │
│ RET }}") │
│ - │
│ - # Extract access token from response │
│ - ACCESS_TOKEN=$(echo "$RESPONSE" | jq -r '.access_token') │
│ - │
│ - if [ "$ACCESS_TOKEN" = "null" ] || [ -z "$ACCESS_TOKEN" ]; then │
│ - echo "Failed to authenticate with Blizzard API - check client credent │
│ ials" │
│ - exit 1 │
│ - fi │
│ - │
│ - # Mask the token in logs to prevent exposure │
│ - echo "::add-mask::$ACCESS_TOKEN" │
│ - │
│ - echo "Successfully authenticated with Blizzard API" │
│ - echo "BLIZZARD_API_TOKEN=$ACCESS_TOKEN" >> $GITHUB_ENV │
│ - │
│ - - name: Build API │
│ - run: | │
│ - nix run . build -- \ │
│ - --out web/public \ │
│ - --from-scratch \ │
│ - --regions us,eu,kr,tw \ │
│ - --page-size 25 \ │
│ - --shard-size 5000 \ │
│ - --concurrency 20 │
│ - │
│ - - name: Setup Node.js │
│ - uses: actions/setup-node@v4 │
│ - with: │
│ - node-version: "22" │
│ - cache: "npm" │
│ - cache-dependency-path: web/package-lock.json │
│ - │
│ - - name: Install web dependencies │
│ - run: | │
│ - cd web │
│ - npm ci │
│ - │
│ - - name: Install Vercel CLI │
│ - run: npm i -g vercel@canary │
│ - - name: Vercel pull │
│ - run: | │
│ - cd web │
│ - vercel pull --yes --environment=production --token=${{ secrets.VERCEL_T │
│ OKEN }} │
│ - - name: Vercel build │
│ - run: | │
│ - cd web │
│ - vercel build --prod --token=${{ secrets.VERCEL_TOKEN }} │
│ - - name: Vercel Deploy │
│ - run: | │
│ - cd web │
│ - vercel deploy --prebuilt --prod --archive=tgz --token=${{ secrets.VERCE │
│ L_TOKEN }} │
└────────────────────────────────────────────────────────────────────────────────────┘
┌─ ...cel-build-deploy-prod.yml.old ───┐
│ diff --git a/.github/workflows/vercel-build- │
│ deploy-prod.yml.old b/.github/workflows/verc │
│ el-build-deploy-prod.yml.old │
│ deleted file mode 100644 │
│ index 7d64966..0000000 │
│ --- a/.github/workflows/vercel-build-deploy- │
│ prod.yml.old │
│ +++ /dev/null │
│ @@ -1,87 +0,0 @@ │
│ -name: Vercel deploy prod │
│ -env: │
│ - VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID │
│ }} │
│ - VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PRO │
│ JECT_ID }} │
│ -on: │
│ - workflow_dispatch: │
│ - schedule: │
│ - - cron: "0 */2 * * *" │
│ - │
│ -permissions: │
│ - contents: read │
│ - pages: write │
│ - id-token: write │
│ - │
│ -jobs: │
│ - Deploy-Preview: │
│ - runs-on: ubuntu-latest │
│ - steps: │
│ - - name: Checkout repo │
│ - uses: actions/checkout@v3 │
│ - with: │
│ - token: ${{ secrets.GITHUB_TOKEN } │
│ } │
│ - │
│ - - name: Install Nix │
│ - uses: cachix/install-nix-action@v22 │
│ - │
│ - - name: Authenticate with Blizzard AP │
│ I │
│ - id: blizzard_auth │
│ - run: | │
│ - echo "Authenticating with Blizzar │
│ d API..." │
│ - │
│ - # Get OAuth token using client cr │
│ edentials flow │
│ - RESPONSE=$(curl -s -X POST "https │
│ ://oauth.battle.net/token" \ │
│ - -H "Content-Type: application/x │
│ -www-form-urlencoded" \ │
│ - -d "grant_type=client_credentia │
│ ls" \ │
│ - -u "${{ secrets.BLIZZARD_CLIENT │
│ _ID }}:${{ secrets.BLIZZARD_CLIENT_SECRET }} │
│ ") │
│ - │
│ - # Extract access token from respo │
│ nse │
│ - ACCESS_TOKEN=$(echo "$RESPONSE" | │
│ jq -r '.access_token') │
│ - │
│ - if [ "$ACCESS_TOKEN" = "null" ] | │
│ | [ -z "$ACCESS_TOKEN" ]; then │
│ - echo "Failed to authenticate wi │
│ th Blizzard API - check client credentials" │
│ - exit 1 │
│ - fi │
│ - │
│ - # Mask the token in logs to preve │
│ nt exposure │
│ - echo "::add-mask::$ACCESS_TOKEN" │
│ - │
│ - echo "Successfully authenticated │
│ with Blizzard API" │
│ - echo "BLIZZARD_API_TOKEN=$ACCESS_ │
│ TOKEN" >> $GITHUB_ENV │
│ - │
│ - - name: Build API │
│ - run: | │
│ - nix run . build -- \ │
│ - --out web/public \ │
│ - --from-scratch \ │
│ - --regions us,eu,kr,tw \ │
│ - --page-size 25 \ │
│ - --shard-size 5000 \ │
│ - --concurrency 20 │
│ - │
│ - - name: Setup Node.js │
│ - uses: actions/setup-node@v4 │
│ - with: │
│ - node-version: "22" │
│ - cache: "npm" │
│ - cache-dependency-path: web/packag │
│ e-lock.json │
│ - │
│ - - name: Install web dependencies │
│ - run: | │
│ - cd web │
│ - npm ci │
│ - │
│ - - name: Install Vercel CLI │
│ - run: npm i -g vercel@canary │
│ - - name: Vercel pull │
│ - run: | │
│ - cd web │
│ - vercel pull --yes --environment=p │
│ roduction --token=${{ secrets.VERCEL_TOKEN } │
│ } │
│ - - name: Vercel build │
│ - run: | │
│ - cd web │
│ - vercel build --prod --token=${{ s │
│ ecrets.VERCEL_TOKEN }} │
│ - - name: Vercel Deploy │
│ - run: | │
│ - cd web │
│ - vercel deploy --prebuilt --prod - │
│ -archive=tgz --token=${{ secrets.VERCEL_TOKE │
│ N }} │
└──────────────────────────────────────────────┘
[ BACK TO LOG ]
──────────────────────────────────────────────────────────────────────────────────────
OOKNET
────────────────────────────────────────────────
OOKNET