Configure output artifact and remove unnecessary dependency #2
1 changed files with 5 additions and 1 deletions
|
@ -17,7 +17,7 @@ jobs:
|
|||
build:
|
||||
runs-on: docker
|
||||
steps:
|
||||
- run: apt-get update && apt-get install python3-pip tree -y
|
||||
- run: apt-get update && apt-get install python3-pip -y
|
||||
- uses: https://code.forgejo.org/actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
@ -34,6 +34,10 @@ jobs:
|
|||
git restore mkdocs.yml
|
||||
fi
|
||||
- run: cp .domains public/.domains
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: mkdocs-publish
|
||||
path: public
|
||||
- run: git switch --orphan $PUBLISH_BRANCH
|
||||
- run: git add public
|
||||
- run: git mv public/{.[!.],}* .
|
||||
|
|
Loading…
Reference in a new issue