Skip to content

Commit

Permalink
test(deploy): test the website deployment for pull requests
Browse files Browse the repository at this point in the history
  • Loading branch information
orhun committed Apr 9, 2023
1 parent 77dda53 commit 6f8a2f9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:


Expand Down Expand Up @@ -42,11 +45,14 @@ jobs:
working-directory: ./website
run: yarn build
- name: Setup Pages
if: github.event_name != 'pull_request'
uses: actions/configure-pages@v1
- name: Upload artifact
if: github.event_name != 'pull_request'
uses: actions/upload-pages-artifact@v1
with:
path: website/build
- name: Deploy to GitHub Pages
if: github.event_name != 'pull_request'
id: deployment
uses: actions/deploy-pages@v1

0 comments on commit 6f8a2f9

Please sign in to comment.