Skip to content

Commit 8e102f9

Browse files
committed
Update deployment
1 parent 749cfd6 commit 8e102f9

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

.github/workflows/deploy.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1+
# https://github.com/actions/starter-workflows/blob/main/pages/static.yml + https://github.com/JamesIves/github-pages-deploy-action
12
# Simple workflow for deploying static content to GitHub Pages
23
name: Deploy static content to Pages
34

45
on:
56
# Runs on pushes targeting the default branch
67
push:
7-
branches: ["master"]
8+
branches: [$default-branch]
89

910
# Allows you to run this workflow manually from the Actions tab
1011
workflow_dispatch:
@@ -31,14 +32,12 @@ jobs:
3132
steps:
3233
- name: Checkout
3334
uses: actions/checkout@v4
34-
35-
- name: Install and Build 🔧 # This example project is built using npm and outputs the result to the 'build' folder. Replace with the commands required to build your project, or remove this step entirely if your site is pre-built.
36-
run: |
37-
npm ci
38-
npm run build
39-
35+
# - name: Install and Build 🔧 # This example project is built using npm and outputs the result to the 'build' folder. Replace with the commands required to build your project, or remove this step entirely if your site is pre-built.
36+
# run: |
37+
# npm ci
38+
# npm run build
4039
- name: Setup Pages
41-
uses: actions/configure-pages@v4
40+
uses: actions/configure-pages@v5
4241
- name: Upload artifact
4342
uses: actions/upload-pages-artifact@v3
4443
with:

0 commit comments

Comments
 (0)