chore(docs): add "Disable 2FA Manually" troubleshooting guide and upd… #203
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: Production Build | |
| on: | |
| push: | |
| branches: | |
| - v4.x | |
| env: | |
| GITHUB_REGISTRY: ghcr.io | |
| IMAGE_NAME: coollabsio/coolify-docs | |
| jobs: | |
| build: | |
| runs-on: [self-hosted, arm64] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Docker Buildx | |
| uses: docker/setup-buildx-action@v3 | |
| with: | |
| version: latest | |
| buildkitd-flags: --debug | |
| - uses: actions/cache@v4 | |
| with: | |
| path: | | |
| ~/.bun/install/cache | |
| ~/.cache/bun | |
| node_modules | |
| docs/.vitepress/.cache | |
| docs/.vitepress/cache | |
| docs/.vitepress/dist | |
| key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lockb', '**/package.json') }} | |
| restore-keys: | | |
| ${{ runner.os }}-bun- | |
| - name: Login to ${{ env.GITHUB_REGISTRY }} | |
| uses: docker/login-action@v3 | |
| with: | |
| registry: ${{ env.GITHUB_REGISTRY }} | |
| username: ${{ github.actor }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Build and Push Image | |
| uses: docker/build-push-action@v6 | |
| with: | |
| context: . | |
| file: Dockerfile | |
| platforms: linux/arm64 | |
| push: true | |
| cache-from: type=gha,scope=${{ github.workflow }} | |
| cache-to: type=gha,mode=max,scope=${{ github.workflow }} | |
| tags: | | |
| ${{ env.GITHUB_REGISTRY }}/${{ env.IMAGE_NAME }}:latest | |
| - name: Deploy to Coolify | |
| run: | | |
| curl --request GET '${{ secrets.COOLIFY_WEBHOOK }}' --header 'Authorization: Bearer ${{ secrets.COOLIFY_TOKEN }}' |