This commit is contained in:
parent
90c22c9648
commit
8b0ddbd392
@ -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 }}."
|
||||
Loading…
Reference in New Issue
Block a user