Skip to content

Merge pull request #311 from Sensedia/release-consents-17102024 #616

Merge pull request #311 from Sensedia/release-consents-17102024

Merge pull request #311 from Sensedia/release-consents-17102024 #616

Workflow file for this run

name: Deploy
on:
push:
branches:
- "OPB_Homologacao"
- "main"
pull_request:
branches:
- "**"
jobs:
deploy:
env:
enable-deploy: ${{ github.ref_name == 'OPB_Homologacao' || (github.repository != 'Sensedia/openapi' && github.ref_name == 'main')}}
name: Deploy Github pages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: |
echo ${{ github.repository }}
echo ${{ github.ref_name }}
- name: Deploy
if: env.enable-deploy == 'true'
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: .