We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a8e30d6 commit d513984Copy full SHA for d513984
1 file changed
.github/workflows/gh-website-pages.yml
@@ -42,7 +42,7 @@ jobs:
42
cache-dependency-path: website/yarn.lock
43
44
- name: Setup Pages
45
- if: github.event_name != 'pull_request'
+ if: github.event_name == 'push' && github.ref == 'refs/heads/main'
46
uses: actions/configure-pages@v5
47
48
- name: Enable Corepack
@@ -57,12 +57,13 @@ jobs:
57
run: yarn build
58
59
- name: Upload Pages artifact
60
61
uses: actions/upload-pages-artifact@v3
62
with:
63
path: website/dist
64
65
- name: Deploy to Server
66
67
uses: easingthemes/ssh-deploy@main
68
env:
69
SSH_PRIVATE_KEY: ${{ secrets.DEPLOY_KEY }}
0 commit comments