adds docs around web preview (#1266) #739
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: Auto-Release | |
| on: | |
| push: | |
| branches: | |
| - develop | |
| jobs: | |
| semantic-version: | |
| name: Semantic version | |
| runs-on: ubuntu-latest | |
| outputs: | |
| release-tag: ${{ steps.semantic.outputs.git-tag }} | |
| permissions: | |
| checks: read # to wait for required checks | |
| contents: write # to be able to publish a GitHub release | |
| issues: write # to be able to comment on released issues | |
| pull-requests: write # to be able to comment on released pull requests | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| # TODO(CG-10743): clean-up once we remove LFS | |
| - name: Remove pre-push hook | |
| run: rm -f .git/hooks/pre-push | |
| - name: Wait for required checks | |
| uses: poseidon/[email protected] | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| match_pattern: "(unit-tests|integration-tests)" | |
| - uses: codfish/semantic-release-action@v3 | |
| id: semantic | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| release: | |
| if: ${{ needs.semantic-version.outputs.release-tag }} | |
| needs: semantic-version | |
| uses: ./.github/workflows/release.yml | |
| permissions: | |
| contents: write | |
| secrets: inherit | |
| with: | |
| release-tag: ${{ needs.semantic-version.outputs.release-tag }} |