Skip to content

Commit

Permalink
trying to fix run
Browse files Browse the repository at this point in the history
  • Loading branch information
zaviermiller committed Aug 19, 2024
1 parent 240c184 commit fd66073
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
name: Build and deploy on Contentful publish

on:
repository_dispatch:
types: [publish-event]
workflow_dispatch:
on: [workflow_dispatch]

jobs:
deploy:
Expand All @@ -27,6 +24,6 @@ jobs:
CONTENTFUL_SPACE_ID: ${{ secrets.CONTENTFUL_SPACE_ID }}
CONTENTFUL_ACCESS_TOKEN: ${{ secrets.CONTENTFUL_ACCESS_TOKEN }}
run: |
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git config --global user.name "github-actions[bot]"
pnpm run deploy
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git config --global user.name "github-actions[bot]"
pnpm run deploy

0 comments on commit fd66073

Please sign in to comment.