Skip to content

Commit b030bb8

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

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

.github/workflows/static.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,13 @@
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-
# - '*'
114
on:
5+
# Runs on pushes targeting the default branch
126
push:
7+
branches: ["master"]
8+
pull_request:
139
branches:
14-
- '**'
10+
- '*'
1511

1612
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
1713

@@ -59,7 +55,7 @@ jobs:
5955

6056
deploy-s3:
6157
needs: build
62-
# if: github.ref == 'refs/heads/master'
58+
if: github.ref == 'refs/heads/master'
6359
runs-on: ubuntu-latest
6460
steps:
6561
- name: Checkout

0 commit comments

Comments
 (0)