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
Copy file name to clipboardexpand all lines: .github/workflows/test.yml
+29-29
Original file line number
Diff line number
Diff line change
@@ -3,40 +3,40 @@ name: test
3
3
on:
4
4
push:
5
5
branches:
6
-
- master
6
+
- master
7
7
8
8
jobs:
9
9
build-and-deploy:
10
10
runs-on: ubuntu-latest
11
11
12
12
steps:
13
-
- name: Checkout
14
-
uses: actions/checkout@v2
13
+
- name: Checkout
14
+
uses: actions/checkout@v3
15
15
16
-
- name: Build
17
-
run: |
18
-
mkdir -p www/_site
19
-
cat > www/_site/index.html <<EOL
20
-
<!doctype html>
21
-
<html>
22
-
<head>
23
-
<title>GH Pages deploy</title>
24
-
</head>
25
-
<body>
26
-
<p>GitHub Pages with <strong>${{ github.sha }}</strong> commit ID has been deployed through <a href="https://github.com/marketplace/actions/gh-pages-deploy">GH Pages deploy</a>.</p>
27
-
</body>
28
-
</html>
29
-
EOL
16
+
- name: Build
17
+
run: |
18
+
mkdir -p www/_site
19
+
cat > www/_site/index.html <<EOL
20
+
<!doctype html>
21
+
<html>
22
+
<head>
23
+
<title>GH Pages deploy</title>
24
+
</head>
25
+
<body>
26
+
<p>GitHub Pages with <strong>${{ github.sha }}</strong> commit ID has been deployed through <a href="https://github.com/marketplace/actions/gh-pages-deploy">GH Pages deploy</a>.</p>
0 commit comments