Skip to content

Commit

Permalink
Merge pull request #193 from NIAEFEUP/devops/wait-for-netlify
Browse files Browse the repository at this point in the history
Make an action to wait for netlify deploy for develop preview
  • Loading branch information
LuisDuarte1 authored Feb 7, 2024
2 parents 6e16578 + 77c9d9f commit 6d28b52
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
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 }}

0 comments on commit 6d28b52

Please sign in to comment.