This commit is contained in:
parent
a26f801204
commit
ed782af815
@ -12,6 +12,9 @@ jobs:
|
|||||||
Deploy-Hexo_Blog:
|
Deploy-Hexo_Blog:
|
||||||
name: Deploy blog
|
name: Deploy blog
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
container:
|
||||||
|
volumes:
|
||||||
|
- ${{ env.DEPLOYED_DIR }}:/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 }}."
|
||||||
|
|
||||||
@ -35,5 +38,5 @@ jobs:
|
|||||||
- name: Deploy
|
- name: Deploy
|
||||||
run: |
|
run: |
|
||||||
echo "🔄 Deploying Hexo Blog..."
|
echo "🔄 Deploying Hexo Blog..."
|
||||||
cp -r public/* ${{ env.DEPLOYED_DIR }}
|
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