We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e46869 commit 5e07e52Copy full SHA for 5e07e52
.github/workflows/main.yml
@@ -1,7 +1,7 @@
1
name: ✍️ Document and 🚀 Deployment
2
on:
3
push:
4
- branches: [ main ]
+ branches: [ source ]
5
tags: [ "*" ]
6
pull_request:
7
workflow_dispatch:
@@ -32,13 +32,14 @@ jobs:
32
33
- name: Deploy to GitHub Pages
34
uses: peaceiris/actions-gh-pages@v3
35
- if: github.ref == 'refs/heads/main'
+ if: github.ref == 'refs/heads/source'
36
with:
37
github_token: ${{ secrets.GITHUB_TOKEN }}
38
publish_dir: ./site
39
+ publish_branch: main
40
41
- name: Deploy to Surge
42
43
env:
44
SURGE_TOKEN: ${{ secrets.SURGE_TOKEN }}
45
run: |
0 commit comments