Repository navigation
🐛(frontend) save edits made while the http fallback carries the document #11
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: Label Preview | |
| on: | |
| pull_request: | |
| types: [labeled, opened] | |
| permissions: | |
| pull-requests: write | |
| # One run per pull request: a new event (opened, labeled) cancels the run of | |
| # the previous one. | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number }} | |
| cancel-in-progress: true | |
| jobs: | |
| comment: | |
| runs-on: ubuntu-latest | |
| if: contains(github.event.pull_request.labels.*.name, 'preview') | |
| steps: | |
| - uses: thollander/actions-comment-pull-request@24bffb9b452ba05a4f3f77933840a6a841d1b32b # v3 | |
| with: | |
| message: | | |
| :rocket: Preview will be available at [https://${{ github.event.pull_request.number }}-docs.ppr-docs.beta.numerique.gouv.fr/](https://${{ github.event.pull_request.number }}-docs.ppr-docs.beta.numerique.gouv.fr/) | |
| You can use the existing account with these credentials: | |
| - username: `docs` | |
| - password: `docs` | |
| You can also create a new account if you want to. | |
| Once this Pull Request is merged, the preview will be destroyed. | |
| comment-tag: preview-url |