You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Simple workflow for deploying static content to GitHub Pages
2
3
name: Deploy static content to Pages
3
4
4
5
on:
5
6
# Runs on pushes targeting the default branch
6
7
push:
7
-
branches: ["master"]
8
+
branches: [$default-branch]
8
9
9
10
# Allows you to run this workflow manually from the Actions tab
10
11
workflow_dispatch:
@@ -30,20 +31,18 @@ jobs:
30
31
runs-on: ubuntu-latest
31
32
steps:
32
33
- name: Checkout
33
-
uses: actions/checkout@v3
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
-
34
+
uses: actions/checkout@v4
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.
0 commit comments