From ed782af815f9f94522671083a015c8a662c4298a Mon Sep 17 00:00:00 2001 From: yunpeng Date: Thu, 19 Dec 2024 20:26:12 +0800 Subject: [PATCH] update cicd_script --- .gitea/workflows/blog_hexo.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/blog_hexo.yaml b/.gitea/workflows/blog_hexo.yaml index 264a99c..d7a069b 100644 --- a/.gitea/workflows/blog_hexo.yaml +++ b/.gitea/workflows/blog_hexo.yaml @@ -12,6 +12,9 @@ jobs: Deploy-Hexo_Blog: name: Deploy blog runs-on: ubuntu-latest + container: + volumes: + - ${{ env.DEPLOYED_DIR }}:/deployed-site steps: - run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}." @@ -35,5 +38,5 @@ jobs: - name: Deploy run: | echo "🔄 Deploying Hexo Blog..." - cp -r public/* ${{ env.DEPLOYED_DIR }} + cp -r public/* /deployed-site/ - run: echo "🍏 This job's status is ${{ job.status }}." \ No newline at end of file