Update object-detection-metrics-guide.html #127
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: Generate sitemap | |
| on: | |
| push: | |
| branches: [ main ] | |
| paths: [ '**.html', '**.pdf' ] | |
| jobs: | |
| sitemap_job: | |
| runs-on: ubuntu-latest | |
| name: Generate a sitemap | |
| steps: | |
| - name: Checkout the repo | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Generate the sitemap | |
| id: sitemap | |
| uses: cicirello/generate-sitemap@v1 | |
| with: | |
| base-url-path: https://securade.ai/ | |
| exclude-paths: /templates /scripts /404.html /tos.html /privacy.html /billing.html /subscribe.html | |
| - name: Output stats | |
| run: | | |
| echo "sitemap-path = ${{ steps.sitemap.outputs.sitemap-path }}" | |
| echo "url-count = ${{ steps.sitemap.outputs.url-count }}" | |
| echo "excluded-count = ${{ steps.sitemap.outputs.excluded-count }}" | |
| - name: Create Pull Request | |
| uses: peter-evans/create-pull-request@v5.0.2 | |
| with: | |
| title: "Automated sitemap update" | |
| body: > | |
| Automated changes. Sitemap updated by | |
| the [generate-sitemap](https://github.com/cicirello/generate-sitemap) | |
| GitHub action. | |
| commit-message: "Automated sitemap update." | |
| author: Asankhaya Sharma <codelion@users.noreply.github.com> | |
| committer: Asankhaya Sharma <codelion@users.noreply.github.com> | |
| branch: create-pull-request/sitemap | |
| delete-branch: true |