This commit is contained in:
parent
f7e2773a86
commit
90c22c9648
@ -14,7 +14,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
volumes:
|
volumes:
|
||||||
- ${{ env.DEPLOYED_DIR }}:/deployed-site
|
- /opt/1panel/apps/openresty/openresty/www/sites/hexoblog/index:/deployed-site
|
||||||
steps:
|
steps:
|
||||||
- run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
|
- run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
|
||||||
|
|
||||||
@ -38,5 +38,6 @@ jobs:
|
|||||||
- name: Deploy
|
- name: Deploy
|
||||||
run: |
|
run: |
|
||||||
echo "🔄 Deploying Hexo Blog..."
|
echo "🔄 Deploying Hexo Blog..."
|
||||||
|
rm -rf /deployed-site/*
|
||||||
cp -r public/* /deployed-site/
|
cp -r public/* /deployed-site/
|
||||||
- run: echo "🍏 This job's status is ${{ job.status }}."
|
- run: echo "🍏 This job's status is ${{ job.status }}."
|
||||||
Loading…
Reference in New Issue
Block a user