Skip to content

Commit

Permalink
Address #23 (#24)
Browse files Browse the repository at this point in the history
* Address #23

* Allow manual dispatch deployment
  • Loading branch information
mewim authored Mar 5, 2024
1 parent b02cc04 commit ad38918
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/deploy-astro.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Deploy Astro
name: Build Astro
on:
push:
branches: ["master"]

pull_request:
workflow_dispatch:

permissions:
Expand Down Expand Up @@ -35,6 +35,7 @@ jobs:
path: dist

deploy:
if: github.event_name == 'push' && github.ref == 'refs/heads/master' || github.event_name == 'workflow_dispatch'
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
Expand Down

0 comments on commit ad38918

Please sign in to comment.