Skip to content

Commit

Permalink
Merge pull request #947 from pluralitybook/audreyt-patch-7
Browse files Browse the repository at this point in the history
Automatically rebuild plurality.net using webhook
  • Loading branch information
audreyt authored Jun 9, 2024
2 parents 9928b5f + 93629db commit f7c4941
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,18 @@ on:

jobs:
build:
if: ${{ github.repository_owner == 'pluralitybook' || github.repository_owner == 'audreyt' }}
if: ${{ github.repository_owner == 'pluralitybook' }}
runs-on: ubuntu-latest
permissions:
contents: write
packages: write
steps:
- uses: actions/checkout@v2
- name: Rebuild the plurality.net website
env:
REBUILD_WEBHOOK: ${{ secrets.REBUILD_WEBHOOK }}
run: |
curl -X POST -d {} "$REBUILD_WEBHOOK"
- name: Generate book files
run: |
# Install necessary dependencies (e.g., Perl, Docker)
Expand Down

0 comments on commit f7c4941

Please sign in to comment.