Skip to content

Commit

Permalink
github update deploy pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
stevekirks committed Dec 17, 2023
1 parent 3e27932 commit 7546621
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ on:
branches: [ main ]
workflow_dispatch:

concurrency:
group: 'pages'
cancel-in-progress: true

jobs:
cd:
runs-on: ubuntu-latest
Expand All @@ -18,9 +22,12 @@ jobs:
run: |
npm install
npm run build
- name: Deploy
uses: JamesIves/[email protected]
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
branch: gh-pages
folder: build
path: './dist'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2

0 comments on commit 7546621

Please sign in to comment.