Skip to content

Commit 5e07e52

Browse files
committed
s/main/source
1 parent 3e46869 commit 5e07e52

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: ✍️ Document and 🚀 Deployment
22
on:
33
push:
4-
branches: [ main ]
4+
branches: [ source ]
55
tags: [ "*" ]
66
pull_request:
77
workflow_dispatch:
@@ -32,13 +32,14 @@ jobs:
3232
3333
- name: Deploy to GitHub Pages
3434
uses: peaceiris/actions-gh-pages@v3
35-
if: github.ref == 'refs/heads/main'
35+
if: github.ref == 'refs/heads/source'
3636
with:
3737
github_token: ${{ secrets.GITHUB_TOKEN }}
3838
publish_dir: ./site
39+
publish_branch: main
3940

4041
- name: Deploy to Surge
41-
if: github.ref == 'refs/heads/main'
42+
if: github.ref == 'refs/heads/source'
4243
env:
4344
SURGE_TOKEN: ${{ secrets.SURGE_TOKEN }}
4445
run: |

0 commit comments

Comments
 (0)