Skip to content

Commit 0d3a0c9

Browse files
committed
update artifact
1 parent c14e7ce commit 0d3a0c9

File tree

2 files changed

+12
-10
lines changed

2 files changed

+12
-10
lines changed

.github/workflows/deploy.yml

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,10 @@
11
name: Deploy to GitHub Pages
22

33
on:
4-
# Trigger the workflow every time you push to the `main` branch
5-
# Using a different branch name? Replace `main` with your branch’s name
64
push:
75
branches: [main]
8-
# Allows you to run this workflow manually from the Actions tab on GitHub.
96
workflow_dispatch:
107

11-
# Allow this job to clone the repo and create a page deployment
128
permissions:
139
contents: read
1410
pages: write
@@ -18,21 +14,26 @@ jobs:
1814
build:
1915
runs-on: ubuntu-latest
2016
steps:
21-
- name: Checkout your repository using git
17+
- name: Checkout repository
2218
uses: actions/checkout@v4
23-
- name: Install, build, and upload your site
19+
20+
- name: Install, build, and prepare Astro site
2421
uses: withastro/action@v3
2522
with:
26-
path: . # The root location of your Astro project inside the repository. (optional)
27-
node-version: 20 # The specific version of Node that should be used to build your site. Defaults to 16. (optional)
28-
package-manager: npm # The Node package manager that should be used to install dependencies and build your site. Automatically detected based on your lockfile. (optional)
23+
path: .
24+
node-version: 20
25+
package-manager: npm
26+
27+
- name: Upload GitHub Pages artifact (v4)
28+
uses: actions/upload-pages-artifact@v2
29+
with:
30+
path: ./dist
2931

3032
deploy:
3133
needs: build
3234
runs-on: ubuntu-latest
3335
environment:
3436
name: github-pages
35-
url: ${{ steps.deployment.outputs.page_url }}
3637
steps:
3738
- name: Deploy to GitHub Pages
3839
id: deployment

.vscode/dictionaries/project-words.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ vyanjan
119119
waitlist
120120
webring
121121
werkzeug
122+
withastro
122123
अक्टूबर
123124
अगस्त
124125
अप्रैल

0 commit comments

Comments
 (0)