mirror of
https://github.com/codex-storage/get-codex.git
synced 2025-02-20 13:08:14 +00:00
Add site subfolders support for CI (#23)
This commit is contained in:
parent
1e6421d3db
commit
3b2b7a00e4
8
.github/workflows/get-codex.yml
vendored
8
.github/workflows/get-codex.yml
vendored
@ -34,13 +34,15 @@ jobs:
|
||||
- name: Prepare file
|
||||
run: |
|
||||
mkdir ${{ env.folder }}
|
||||
find . -type f \
|
||||
find . \
|
||||
-maxdepth 1 \
|
||||
-name "*.*" \
|
||||
-mindepth 1 \
|
||||
! -name site \
|
||||
! -name CNAME \
|
||||
! -name '*.md' \
|
||||
! -name ".git*" \
|
||||
! -name "LICENSE*" \
|
||||
-exec cp {} ${{ env.folder }} \;
|
||||
-exec cp -r {} ${{ env.folder }} \;
|
||||
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-pages-artifact@v3
|
||||
|
Loading…
x
Reference in New Issue
Block a user