Skip to content

Commit 313a49f

Browse files
committed
change deploy to be on release published
1 parent 0e418f5 commit 313a49f

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/deploy.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,21 @@
11
name: Safe Bookstore deploy
22

33
on:
4-
push:
5-
branches:
6-
- master
4+
release:
5+
types: [published]
76

87
jobs:
98
deploy:
109
runs-on: ubuntu-latest
1110

1211
steps:
1312
- uses: actions/checkout@v4
14-
13+
1514
- name: Setup .NET
1615
uses: actions/setup-dotnet@v3
1716
with:
1817
dotnet-version: 8.0.x
19-
18+
2019
- name: Restore tools
2120
run: dotnet tool restore
2221

0 commit comments

Comments
 (0)