Skip to content

Commit 265ae24

Browse files
authored
Update GitHub Actions workflow for deployment
1 parent ff24c47 commit 265ae24

1 file changed

Lines changed: 3 additions & 7 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 3 additions & 7 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,10 +14,10 @@ jobs:
1814
build:
1915
runs-on: ubuntu-latest
2016
steps:
21-
- name: Checkout your repository using git
17+
- name: Checkout
2218
uses: actions/checkout@v4
2319
- name: Install, build, and upload your site
24-
uses: withastro/action@v3
20+
uses: withastro/action@v4
2521

2622
deploy:
2723
needs: build
@@ -32,4 +28,4 @@ jobs:
3228
steps:
3329
- name: Deploy to GitHub Pages
3430
id: deployment
35-
uses: actions/deploy-pages@v4
31+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)