this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

👷 Add job to check if site is deployed

+26
+26
.github/workflows/deployed.yml
··· 1 + name: Deployed 2 + 3 + on: 4 + push: 5 + branches: [main] 6 + 7 + concurrency: 8 + group: main 9 + cancel-in-progress: true 10 + 11 + jobs: 12 + check: 13 + runs-on: ubuntu-latest 14 + strategy: 15 + matrix: 16 + lang: [en, fr] 17 + steps: 18 + - name: check ${{ github.sha }} is deployed 19 + run: | 20 + wget https://${{ matrix.lang }}.gwen.works/ 21 + while ! grep "https://github.com/${{ github.repository }}/commit/${{ github.sha }}" index.html; do 22 + grep -o 'https://github.com/${{ github.repository }}/commit/[a-zA-Z0-9]*' index.html 23 + sleep 5 24 + rm index.html 25 + wget https://${{ matrix.lang }}.gwen.works/ 26 + done