Skip to content

Commit

Permalink
Make build into 3 steps
Browse files Browse the repository at this point in the history
  • Loading branch information
yuri-kiss authored Aug 2, 2024
1 parent ade8c76 commit 6c2ae19
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
name: build-output
path: site/
retention-days: 0.05
deploy:
artifact:
needs: build
environment:
name: github-pages
Expand All @@ -59,3 +59,25 @@ jobs:
with:
build_dir: _site/
verbose: true
push:
needs: artifact
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Echo repo (test)
run: echo ${{ github.repository }}
- name: Checkout
uses: actions/checkout@v4
with:
repository: ${{ github.repository }}
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: '.'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4

0 comments on commit 6c2ae19

Please sign in to comment.