Skip to content

Commit

Permalink
Fix deployment step (#27)
Browse files Browse the repository at this point in the history
* Add email configuration

* Use built-in actions

* Add checkout
  • Loading branch information
hmallen99 authored Dec 5, 2024
1 parent b2a6427 commit adddf92
Showing 1 changed file with 22 additions and 4 deletions.
26 changes: 22 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ concurrency:
cancel-in-progress: true

jobs:
deploy:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -24,6 +24,24 @@ jobs:
- name: Install dependencies
run: npm ci

- name: Deploy
run: |
npm run deploy
- name: Build static files
id: build
run: npm run build

- name: Upload static files as artifact
id: deployment
uses: actions/upload-pages-artifact@v3
with:
path: build/

deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4

0 comments on commit adddf92

Please sign in to comment.