Skip to content

Commit

Permalink
Merge branch 'master' into agm-2209-add-info-about-console-abilities
Browse files Browse the repository at this point in the history
  • Loading branch information
puglieri authored Sep 27, 2024
2 parents 61b899a + e0f36b7 commit 1987fc7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,18 +51,18 @@ jobs:
echo "User-Agent: *\nDisallow: /" > build/robots.txt
- name: Install Wrangler
if: github.repository == 'AdguardTeam/KnowledgeBase'
if: github.event.pull_request.head.repo.fork == false
run: npm install -g wrangler

- name: Deploy to Cloudflare Pages
if: github.repository == 'AdguardTeam/KnowledgeBase'
if: github.event.pull_request.head.repo.fork == false
run: npx wrangler pages deploy ./build --project-name="${{ env.PAGES_PROJECT }}" --branch ${{ env.BRANCH_NAME }}
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_WORKERS_API_TOKEN }}
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_WORKERS_ACCOUNT_ID }}

- name: Add comment to Pull Request
if: github.event_name == 'pull_request' && github.repository == 'AdguardTeam/KnowledgeBase'
if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork == false
uses: actions/github-script@v6
with:
script: |
Expand Down

0 comments on commit 1987fc7

Please sign in to comment.