fix: SameSite=None para cookies cross-origin + logs debug #25
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 Spring Boot API to Azure | |
| on: | |
| push: | |
| branches: | |
| - dev | |
| jobs: | |
| build-and-deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout código | |
| uses: actions/checkout@v4 | |
| - name: Configurar Java | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: ${{ secrets.JAVA_VERSION }} | |
| distribution: 'temurin' | |
| - name: Build com Maven | |
| run: mvn clean package | |
| - name: Login no Azure | |
| uses: azure/login@v2 | |
| with: | |
| creds: ${{ secrets.AZURE_CREDENTIALS }} | |
| - name: Deploy no Azure Web App | |
| uses: azure/webapps-deploy@v3 | |
| with: | |
| app-name: ${{ secrets.AZURE_WEBAPP_NAME }} | |
| package: target/demo-0.0.1-SNAPSHOT.jar | |
| env: | |
| STORAGE_ACESS_LINK: ${{ secrets.STORAGE_ACESS_LINK }} | |
| STORAGE_USER: ${{ secrets.STORAGE_USER }} | |
| STORAGE_PASS: ${{ secrets.STORAGE_PASS }} | |
| TOKENPASS: ${{ secrets.JWT_SECRET }} |