Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,11 @@ jobs:
APPLE_ID_USERNAME: ${{ secrets.APPLE_ID_USERNAME }}
APPLE_ID_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }}
APPLE_ID_TEAM_ID: ${{ secrets.APPLE_ID_TEAM_ID }}

website:
name: Website
uses: ./.github/workflows/website.yml
needs: publish
permissions: {}
secrets:
NETLIFY_BUILD_HOOK_URL: ${{ secrets.NETLIFY_BUILD_HOOK_URL }}
13 changes: 10 additions & 3 deletions .github/workflows/website.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
name: Website

on:
workflow_dispatch: # For manually running website deployment
workflow_call:
secrets:
NETLIFY_BUILD_HOOK_URL:
required: true
workflow_dispatch:
release:
types:
- published # For running on release publish
- published

permissions: {}

Expand All @@ -14,4 +18,7 @@ jobs:
runs-on: ubuntu-latest
permissions: {}
steps:
- run: curl -X POST -d {} ${{ secrets.NETLIFY_BUILD_HOOK_URL }}
- name: Trigger Netlify build
env:
BUILD_HOOK_URL: ${{ secrets.NETLIFY_BUILD_HOOK_URL }}
run: curl --fail --silent --show-error -X POST -d '{}' "$BUILD_HOOK_URL"