Skip to content

Commit 65bfacf

Browse files
committed
deploy s3 only on master
1 parent 902b507 commit 65bfacf

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

.github/workflows/static.yml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,12 @@
11
# Simple workflow for deploying static content to GitHub Pages
22
name: Deploy static content to Pages
33

4-
# on:
5-
# # Runs on pushes targeting the default branch
6-
# push:
7-
# branches: ["master"]
8-
# pull_request:
9-
# branches:
10-
# - '*'
11-
on:
4+
# Runs on pushes targeting the default branch
125
push:
6+
branches: ["master"]
7+
pull_request:
138
branches:
14-
- '**'
9+
- '*'
1510

1611
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
1712

@@ -59,7 +54,7 @@ jobs:
5954

6055
deploy-s3:
6156
needs: build
62-
# if: github.ref == 'refs/heads/master'
57+
if: github.ref == 'refs/heads/master'
6358
runs-on: ubuntu-latest
6459
steps:
6560
- name: Checkout

0 commit comments

Comments
 (0)