Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
andrey-zherikov committed Feb 16, 2024
1 parent b609bdb commit 956b454
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
# Replace `main` with your branch’s name
push:
branches: ["main"]
pull_request:
# Specify to run a workflow manually from the Actions tab on GitHub
workflow_dispatch:

Expand Down Expand Up @@ -80,6 +81,7 @@ jobs:
instance: ${{ env.INSTANCE }}

deploy:
if: ${{ github.ref_name == 'main' }}
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
Expand Down

0 comments on commit 956b454

Please sign in to comment.