Skip to content

Commit c42c930

Browse files
committed
Reformatted the deploy script and fixed the files being used for deployment.
1 parent 0a76115 commit c42c930

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/preview-deploy.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -112,13 +112,19 @@ jobs:
112112
113113
pages:
114114
needs: deploy
115+
runs-on: ubuntu-latest
116+
115117
environment:
116118
name: github-pages
117119
url: ${{ steps.deployment.outputs.page_url }}
118-
runs-on: ubuntu-latest
120+
119121
steps:
120122
- name: Checkout
121123
uses: actions/checkout@v4
124+
- name: Switch branch
125+
126+
run: |
127+
git checkout --orphan preview-deployment
122128
- name: Setup Pages
123129
uses: actions/configure-pages@v5
124130
- name: Upload artifact

0 commit comments

Comments
 (0)