Skip to content

Commit

Permalink
fix zip
Browse files Browse the repository at this point in the history
  • Loading branch information
joyqi committed Sep 14, 2021
1 parent 2d777ec commit 1d21eca
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/Typecho-dev-Ci.yml
Expand Up @@ -36,21 +36,19 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install tree
run: sudo apt-get -y install tree
- name: Build
run: |
mkdir build
cp -r LICENSE.txt index.php install.php admin install usr var build/
mkdir build/usr/uploads/
chmod 777 build/usr/uploads/
touch build/usr/uploads/empty
rm -rf build/admin/src
cd build && tar -cvf typecho.tar * && mv typecho.tar ../ && cd -
- name: Upload a Build Artifact
uses: actions/upload-artifact@v2
with:
name: typecho
path: typecho.tar
path: ./build/
- name: Trigger build
run: |
curl -XPOST -H "Authorization: token ${{ secrets.WORKFLOW_TOKEN }}" \
Expand Down

0 comments on commit 1d21eca

Please sign in to comment.