Skip to content

Commit

Permalink
保守优化工作流
Browse files Browse the repository at this point in the history
  • Loading branch information
PJ-568 committed Feb 25, 2024
1 parent e1a6d34 commit 1fbe227
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/Deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,24 +10,26 @@ jobs:
runs-on: ubuntu-latest
env:
TZ: Asia/Shanghai

steps:

- name: Checkout qmole-source-site
uses: actions/checkout@v4
with:
path: qmole-source-site


- name: Mkdir & Mv
run: |
mkdir /home/runner/tmp
cp -v ./index.html /home/runner/tmp/index.html
cp -v ./CNAME /home/runner/tmp/CNAME
- name: Checkout qmole-packages
uses: actions/checkout@v4
with:
repository: chriskmanx/qmole-packages
path: qmole-packages

- name: Build site
run: |
cp -v qmole-source-site/index.html qmole-packages/REPO/index.html
cp -v qmole-source-site/CNAME qmole-packages/REPO/CNAME
cd qmole-packages/
cp -v /home/runner/tmp/index.html REPO/index.html
cp -v /home/runner/tmp/CNAME REPO/CNAME
- uses: JamesIves/github-pages-deploy-action@v4
with:
Expand Down

0 comments on commit 1fbe227

Please sign in to comment.