Skip to content

Commit 60735b7

Browse files
authored
Merge pull request #18 from EarthyScience/la/update_publish
do JamesIves
2 parents a89dc29 + 83ae9e9 commit 60735b7

File tree

1 file changed

+7
-16
lines changed

1 file changed

+7
-16
lines changed

.github/workflows/publish.yml

Lines changed: 7 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -20,29 +20,20 @@ jobs:
2020
runs-on: ubuntu-latest
2121
timeout-minutes: 20
2222
steps:
23-
- name: Checkout repo
23+
- name: Checkout repo 🛎️
2424
uses: actions/checkout@v4
2525
with:
2626
fetch-depth: 0
2727

28-
- name: Setup repo
28+
- name: Setup repo 🔧
2929
uses: ./.github/actions
3030

3131
- name: Build site
3232
run: pnpm buildRepo
3333

34-
- name: Upload artifact
35-
uses: actions/upload-pages-artifact@v3
34+
- name: Deploy 🚀
35+
uses: JamesIves/github-pages-deploy-action@v4
3636
with:
37-
path: ./dist
38-
39-
deploy:
40-
environment:
41-
name: github-pages
42-
url: ${{ steps.deployment.outputs.page_url }}
43-
needs: update-gh-pages
44-
runs-on: ubuntu-latest
45-
steps:
46-
- name: Deploy to GitHub Pages
47-
id: deployment
48-
uses: actions/deploy-pages@v4
37+
folder: dist
38+
branch: gh-pages
39+
clean: true

0 commit comments

Comments
 (0)