Skip to content

Commit

Permalink
ci: move artifacts step to the prev step
Browse files Browse the repository at this point in the history
  • Loading branch information
alitnk committed Oct 12, 2023
1 parent aecd7ec commit 268eb9b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ jobs:
run: |
cd ./apps/site
yarn build
- name: Upload Pages Artifact
uses: actions/upload-pages-artifact@v1
with:
path: "./apps/site/dist/"
# not using astro's action since it doesn't work well with monorepos
# - name: Install, build, and upload your site
# uses: withastro/action@v1
Expand All @@ -47,10 +51,6 @@ jobs:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Upload Pages Artifact
uses: actions/upload-pages-artifact@v1
with:
path: "./apps/site/dist/"
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
Expand Down

0 comments on commit 268eb9b

Please sign in to comment.