Skip to content

Commit f1e26f0

Browse files
author
Sonu Kumar
committedJul 9, 2024·
use
1 parent 5b5c71e commit f1e26f0

File tree

1 file changed

+4
-13
lines changed

1 file changed

+4
-13
lines changed
 

‎.github/workflows/pages.yaml

+4-13
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ concurrency:
3535

3636
jobs:
3737
# Build and Deploy job
38-
build:
38+
build_and_deploy:
3939
runs-on: ubuntu-latest
4040
defaults:
4141
run:
@@ -61,18 +61,9 @@ jobs:
6161
JEKYLL_ENV: production
6262
- name: Upload artifact
6363
# Automatically uploads an artifact from the './_site' directory by default
64-
uses: actions/upload-artifact@v2
64+
uses: actions/upload-pages-artifact@v3
6565
with:
66-
name: github-pages
67-
path: "docs/_site"
68-
# Deployment job
69-
deploy:
70-
environment:
71-
name: github-pages
72-
url: ${{ steps.deployment.outputs.page_url }}
73-
runs-on: ubuntu-latest
74-
needs: build
75-
steps:
76-
- name: Deploy to GitHub Pages
66+
path: 'docs'
67+
- name: deploy
7768
id: deployment
7869
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)
Please sign in to comment.