diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 061fdab..ac9598b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,7 +1,9 @@ name: Build on: push: - branches: [main] + branches: [main, dev] + paths-ignore: + - "**/*.md" jobs: build: @@ -11,12 +13,15 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + - name: Checkout builds uses: actions/checkout@v4 with: - repository: 'pyoncord/detta-builds' + repository: "pyoncord/bunny-builds" path: "builds" - token: ${{ secrets.PYLIX_TOKEN }} + token: ${{ secrets.BUILDS_TOKEN }} + ref: ${{ github.ref_name }} + - uses: actions/setup-node@v4 with: node-version: 20 @@ -28,6 +33,8 @@ jobs: - name: Build run: pnpm build + + # TODO: Check for linting? - name: Push builds run: | @@ -42,5 +49,5 @@ jobs: - name: Purge CDN cache run: | - curl https://purge.jsdelivr.net/gh/pyoncord/builds + curl https://purge.jsdelivr.net/gh/pyoncord/bunny-builds@${{ github.ref_name }}/bunny.js diff --git a/.github/workflows/crowdin.yml b/.github/workflows/crowdin.yml index 674fd45..247e0a5 100644 --- a/.github/workflows/crowdin.yml +++ b/.github/workflows/crowdin.yml @@ -3,7 +3,7 @@ name: Sync with I18n repository on: push: branches: - - 'legacy' + - 'main' paths: - 'src/core/i18n/default.json' workflow_dispatch: