diff --git a/.gitea/workflows/blog_hexo.yaml b/.gitea/workflows/blog_hexo.yaml index 80f3c91..abb4d29 100644 --- a/.gitea/workflows/blog_hexo.yaml +++ b/.gitea/workflows/blog_hexo.yaml @@ -12,9 +12,6 @@ jobs: Deploy-Hexo_Blog: name: Deploy blog runs-on: ubuntu-latest - container: - volumes: - - /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 }}." @@ -39,5 +36,5 @@ jobs: run: | echo "🔄 Deploying Hexo Blog..." rm -rf /deployed-site/* - cp -r public/* /deployed-site/ + cp -r public/* ${{ env.DEPLOYED_DIR }} - run: echo "🍏 This job's status is ${{ job.status }}." \ No newline at end of file