Skip to content

Commit

Permalink
Merge pull request #1 from matter-labs/adopt_ci
Browse files Browse the repository at this point in the history
ci: disable run deploy for forks
  • Loading branch information
hatemosphere authored Aug 13, 2024
2 parents 44853ec + f6af537 commit 089bfac
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 17 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ on: [push]

jobs:
deploy:
if: github.event.pull_request.head.repo.fork == false
runs-on: ubuntu-latest
permissions:
contents: read
Expand All @@ -28,6 +29,6 @@ jobs:
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
projectName: foundry-book
projectName: foundry-book-fork
directory: book
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
14 changes: 0 additions & 14 deletions .github/workflows/project.yml

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: test
on:
push:
branches: [master]
branches: [main]
pull_request:
branches: [master]
branches: [main]

jobs:
test:
Expand Down

0 comments on commit 089bfac

Please sign in to comment.