Skip to content

Commit

Permalink
Upload artifact in build step
Browse files Browse the repository at this point in the history
  • Loading branch information
bjsowa committed Nov 20, 2023
1 parent a8fec19 commit 67d1547
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,18 +32,18 @@ jobs:
run: yarn install --frozen-lockfile
- name: Build website
run: yarn build

- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
path: "build/"

deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
path: "build/"
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2

0 comments on commit 67d1547

Please sign in to comment.