Skip to content

Commit

Permalink
chore: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cipchk committed Sep 6, 2023
1 parent 0e02c10 commit 397c436
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 21 deletions.
24 changes: 5 additions & 19 deletions .github/workflows/mirror.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,11 @@ on: push

jobs:
to_gitee:
# if: "!startsWith(github.event.commits[0].message, 'release')"
if: "!startsWith(github.event.commits[0].message, 'release')"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v1
- uses: pixta-dev/repository-mirroring-action@v1
with:
fetch-depth: 1

- name: to gitlab
uses: pixta-dev/repository-mirroring-action@v1
with:
target_repo_url:
[email protected]:ng-alain/delon.git
ssh_private_key:
${{ secrets.GITLAB_SSH_PRIVATE_KEY }}

- name: to gitee
uses: pixta-dev/repository-mirroring-action@v1
with:
target_repo_url:
[email protected]:ng-alain/delon.git
ssh_private_key:
${{ secrets.GITEE_SSH_PRIVATE_KEY }}
target_repo_url: [email protected]:ng-alain/delon.git
ssh_private_key: ${{ secrets.GITEE_SSH_PRIVATE_KEY }}
4 changes: 2 additions & 2 deletions Dockerfile.docs
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
FROM node:lts as dist
MAINTAINER authors="cipchk <[email protected]>"
WORKDIR /dist
# RUN git clone --depth 1 --branch gh-pages https://github.com/ng-alain/delon.git .
RUN git clone --depth 1 --branch gh-pages https://gitee.com/ng-alain/delon.git .
RUN git clone --depth 1 --branch gh-pages https://github.com/ng-alain/delon.git .
# RUN git clone --depth 1 --branch gh-pages https://gitee.com/ng-alain/delon.git .
# && sed -i'.bak' -e 's/\/delon\//\//g' index.html \
# && sed -i'.bak' -e 's/\/delon\//\//g' 404.html
COPY _nginx _nginx
Expand Down

0 comments on commit 397c436

Please sign in to comment.