Skip to content

Commit

Permalink
Merge pull request #538 from CybCom/master
Browse files Browse the repository at this point in the history
Fix CI error
Close issue #537
  • Loading branch information
yeasy authored Dec 30, 2023
2 parents dd6b022 + 7052cea commit 1be1db5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 12 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/check-link.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,14 @@
name: Check link

on:
# push:
# pull_request:
workflow_dispatch:

jobs:
check-link:
name: check-link
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
with:
fetch-depth: 1
- uses: actions/checkout@v4.1.1
# search Issues :-(
- run: |
docker run -i --rm \
Expand Down
11 changes: 4 additions & 7 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: CI

on:
push:
pull_request:
workflow_dispatch:

name: CI

defaults:
run:
shell: bash --noprofile --norc -exo pipefail {0}
Expand All @@ -14,9 +14,7 @@ jobs:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
with:
fetch-depth: 2
- uses: actions/checkout@v4.1.1
- name: Build Gitbook
uses: docker://yeasy/docker_practice
with:
Expand Down Expand Up @@ -68,8 +66,8 @@ jobs:
PCIT_USERNAME: khs1994
- name: vuepress
run: |
export NODE_OPTIONS=--openssl-legacy-provider
sudo rm -rf _book
# npm i vuepress --save-dev
npm i

git clone https://github.com/docker-practice/.vuepress .vuepress2
Expand All @@ -80,7 +78,6 @@ jobs:
npx vuepress --version

npm run vuepress:build
# echo "vuepress.docker-practice.com" > .vuepress/dist/CNAME
echo "vuepress.mirror.docker-practice.com" > .vuepress/dist/CNAME

cp -r _images .vuepress/dist
Expand Down

0 comments on commit 1be1db5

Please sign in to comment.