Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1bd904a

Browse files
authored
Update deploy-previews.yml
1 parent dabc15f commit 1bd904a

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

.github/workflows/deploy-previews.yml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,15 @@ jobs:
88
build:
99
runs-on: ubuntu-latest
1010
steps:
11-
- name: Comment Deploy Preview Link
12-
uses: thollander/[email protected]
13-
with:
14-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
15-
message: Test. Nice PR!👍 Deploy preview available at https://epicfaace.github.io/cpython/${{ github.sha }}
1611
- uses: actions/checkout@v2
1712
- name: Setup Python
1813
uses: actions/[email protected]
1914
with:
2015
python-version: 3.7
2116
- name: Build documentation
2217
run: |
23-
# make venv
24-
# make html
25-
mkdir -p build/html
26-
echo "Hello world<h1>aaa</h1>" > build/html/index.html
18+
make venv
19+
make html
2720
mkdir to-github
2821
mv build/html to-github/${GITHUB_SHA}
2922
working-directory: Doc
@@ -37,4 +30,4 @@ jobs:
3730
uses: thollander/[email protected]
3831
with:
3932
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
40-
message: Nice PR!👍 Deploy preview available at https://epicfaace.github.io/cpython/${GITHUB_SHA}
33+
message: Deploy preview available at https://epicfaace.github.io/cpython/${{ github.sha }}

0 commit comments

Comments
 (0)