diff --git a/.gitea/workflows/blog_hexo.yaml b/.gitea/workflows/blog_hexo.yaml index d7a069b..80f3c91 100644 --- a/.gitea/workflows/blog_hexo.yaml +++ b/.gitea/workflows/blog_hexo.yaml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest container: volumes: - - ${{ env.DEPLOYED_DIR }}:/deployed-site + - /opt/1panel/apps/openresty/openresty/www/sites/hexoblog/index:/deployed-site steps: - run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}." @@ -38,5 +38,6 @@ jobs: - name: Deploy run: | echo "🔄 Deploying Hexo Blog..." + rm -rf /deployed-site/* cp -r public/* /deployed-site/ - run: echo "🍏 This job's status is ${{ job.status }}." \ No newline at end of file