Update indexer percentage to 100 (#170) #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
| on: | |
| push: | |
| branches: | |
| - main | |
| name: Release | |
| jobs: | |
| release-staging: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: ./.github/actions/test | |
| - name: Deploy to Staging | |
| uses: cloudflare/wrangler-action@v3 | |
| with: | |
| apiToken: ${{secrets.CF_TOKEN }} | |
| environment: 'staging' | |
| release-production: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| steps: | |
| - uses: google-github-actions/release-please-action@v3 | |
| id: release | |
| with: | |
| release-type: node | |
| package-name: freeway | |
| - uses: actions/checkout@v3 | |
| - uses: ./.github/actions/test | |
| - name: Deploy to Production | |
| uses: cloudflare/wrangler-action@v3 | |
| with: | |
| apiToken: ${{ secrets.CF_TOKEN }} | |
| environment: 'production' | |
| if: ${{ steps.release.outputs.release_created }} | |