Skip to content

Commit 2e65fb2

Browse files
committed
changes
1 parent 47fdf40 commit 2e65fb2

File tree

1 file changed

+5
-11
lines changed

1 file changed

+5
-11
lines changed

.github/workflows/deploy.yaml

Lines changed: 5 additions & 11 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:
7-
branches: [master]
8-
# Allows you to run this workflow manually from the Actions tab on GitHub.
5+
branches: [master] # Or 'main' if that’s your default
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
@@ -23,15 +19,13 @@ jobs:
2319
build:
2420
runs-on: ubuntu-latest
2521
steps:
26-
- name: Checkout your repository using git
22+
- name: Checkout your repository
2723
uses: actions/checkout@v3
2824

29-
- name: Install, build, and upload your site
30-
uses: withastro/action@v2
25+
- name: Setup Node.js
26+
uses: actions/setup-node@v3
3127
with:
32-
node-version: 18 # The specific version of Node that should be used to build your site. Defaults to 16. (optional)
33-
# path: . # The root location of your Astro project inside the repository. (optional)
34-
# package-manager: yarn # The Node package manager that should be used to install dependencies and build your site. Automatically detected based on your lockfile. (optional)
28+
node-version: 18
3529

3630
- name: Install dependencies
3731
run: npm ci

0 commit comments

Comments
 (0)