Skip to content

Commit ff11428

Browse files
authored
Update deploy.yml
1 parent ccfa507 commit ff11428

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/deploy.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,9 @@ name: deploy
22

33
on:
44
push:
5-
branches:
6-
- folio_site
5+
branches: [ "master" ]
76
pull_request:
8-
branches:
9-
- folio_site
7+
branches: [ "master" ]
108
workflow_dispatch:
119

1210
permissions:
@@ -27,6 +25,8 @@ jobs:
2725
steps:
2826
- name: Checkout code
2927
uses: actions/checkout@v3
28+
with:
29+
ref: folio-site
3030
- name: Setup Ruby
3131
uses: ruby/setup-ruby@v1
3232
with:
@@ -39,7 +39,7 @@ jobs:
3939
id: setup
4040
run: |
4141
git config --global user.name "GitHub Action"
42-
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
42+
git config --global user.email "github-actions[bot]@users.noreply.github.com"
4343
if [[ ${GITHUB_REF} = refs/pull/*/merge ]]; then # pull request
4444
echo "SRC_BRANCH=${GITHUB_HEAD_REF}" >> $GITHUB_OUTPUT
4545
echo "NO_PUSH=--no-push" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)