chore(gitignore): fix Claude settings ignore pattern #2
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 Staging | |
| on: | |
| push: | |
| branches: [develop] | |
| concurrency: | |
| group: staging-deploy | |
| cancel-in-progress: true | |
| jobs: | |
| deploy-staging: | |
| name: Deploy to Cloudflare Workers (Staging) | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| deployments: write | |
| environment: | |
| name: staging | |
| url: https://staging.aicodingstack.io | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: '22' | |
| cache: 'npm' | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Run CI tests | |
| run: npm run test:ci | |
| - name: Build with OpenNext | |
| run: npm run build | |
| env: | |
| BUILD_TIME: ${{ github.event.head_commit.timestamp }} | |
| - name: Deploy to Staging | |
| uses: cloudflare/wrangler-action@v3 | |
| with: | |
| apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} | |
| accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} | |
| command: deploy --env staging | |
| - name: Deployment summary | |
| run: | | |
| echo "### Staging Deployment" >> $GITHUB_STEP_SUMMARY | |
| echo "" >> $GITHUB_STEP_SUMMARY | |
| echo "- **URL:** https://staging.aicodingstack.io" >> $GITHUB_STEP_SUMMARY | |
| echo "- **Commit:** ${{ github.sha }}" >> $GITHUB_STEP_SUMMARY | |
| echo "- **Time:** $(date -u '+%Y-%m-%d %H:%M:%S UTC')" >> $GITHUB_STEP_SUMMARY |