Atualiza valor da anuidade #72
Workflow file for this run
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 PR previews | |
| on: | |
| pull_request: | |
| types: | |
| - opened | |
| - reopened | |
| - synchronize | |
| - closed | |
| concurrency: | |
| group: gh-pages | |
| cancel-in-progress: false | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| jobs: | |
| deploy-preview: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version: '3.10' | |
| - uses: abatilo/actions-poetry@0dd19c9498c3dc8728967849d0d2eae428a8a3d8 # v4 | |
| with: | |
| poetry-version: 2.1.4 | |
| - name: Install dependencies | |
| if: github.event.action != 'closed' | |
| run: poetry install --without dev | |
| - name: Build | |
| if: github.event.action != 'closed' | |
| run: poetry run make html | |
| - name: Deploy preview | |
| uses: rossjrw/pr-preview-action@ffa7509e91a3ec8dfc2e5536c4d5c1acdf7a6de9 # v1 | |
| if: github.event.pull_request.head.repo.full_name == github.repository | |
| with: | |
| source-dir: ./build/html/ |