fix: tiled background #52
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Deploy Production Registry | |
| on: | |
| push: | |
| branches: | |
| - main | |
| permissions: | |
| actions: read | |
| deployments: write | |
| contents: write | |
| jobs: | |
| build: | |
| if: ${{ github.actor != 'getarcaneappbot' }} | |
| runs-on: macos-latest | |
| environment: | |
| name: production | |
| url: https://registry.getarcane.app | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| token: ${{ secrets.ARCANE_BOT_TOKEN }} | |
| - name: Configure Git | |
| run: | | |
| git config --global user.name "getarcaneappbot" | |
| git config --global user.email "[email protected]" | |
| - name: Setup pnpm | |
| uses: pnpm/action-setup@v4 | |
| - name: Setup Node | |
| uses: actions/setup-node@v5 | |
| with: | |
| node-version: "25" | |
| - name: Install dependencies | |
| run: pnpm install | |
| - name: Type-check | |
| run: pnpm run type-check | |
| - name: Generate registry.json | |
| env: | |
| REGISTRY_NAME: Arcane Community Templates | |
| REGISTRY_DESCRIPTION: Community Docker Compose Templates for Arcane | |
| REGISTRY_AUTHOR: getarcaneapp | |
| REGISTRY_URL: "https://github.com/getarcaneapp/templates" | |
| PUBLIC_BASE: "https://registry.getarcane.app/templates" | |
| DOCS_BASE: "https://github.com/getarcaneapp/templates/tree/main/templates" | |
| BUMP_PART: minor | |
| SCHEMA_URL: "https://registry.getarcane.app/schema.json" | |
| run: pnpm run generate | |
| - name: Commit registry.json | |
| uses: stefanzweifel/git-auto-commit-action@v7 | |
| with: | |
| commit_message: "chore: update registry.json [skip ci]" | |
| file_pattern: "registry.json" | |
| commit_user_name: getarcaneappbot | |
| commit_user_email: [email protected] | |
| commit_author: "getarcaneappbot <[email protected]>" | |
| - name: Stage build directory | |
| run: pnpm run stage | |
| - name: Deploy to Cloudflare Workers | |
| env: | |
| CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_WORKERS_API_TOKEN }} | |
| CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} | |
| run: pnpm exec wrangler deploy |