Merge pull request #193 from NIAEFEUP/devops/wait-for-netlify #1
This file contains 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
on: | |
push: | |
branches: [develop] | |
jobs: | |
deploy: | |
name: "Deploy to netlify" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Wait for the Netlify Preview | |
uses: kamranayub/[email protected] | |
id: waitForNetlify | |
with: | |
site_name: 'tts-fe-preview' | |
max_timeout: 300 # 5 minutes | |
env: | |
NETLIFY_TOKEN: ${{ secrets.NETLIFY_TOKEN }} |