This commit is contained in:
parent
56cc8e7831
commit
b5d2cfc18c
|
@ -39,13 +39,14 @@ jobs:
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: ${{ steps.detect-package-manager.outputs.manager }} ${{ steps.detect-package-manager.outputs.command }}
|
run: ${{ steps.detect-package-manager.outputs.manager }} ${{ steps.detect-package-manager.outputs.command }}
|
||||||
working-directory: ${{ env.BUILD_PATH }}
|
working-directory: ${{ env.BUILD_PATH }}
|
||||||
|
- name: Make envfile
|
||||||
|
uses: SpicyPizza/create-envfile@v2.0
|
||||||
|
with:
|
||||||
|
envkey_PUBLIC_BACKEND_HOST: ${{ vars.PUBLIC_BACKEND_HOST }}
|
||||||
- name: Build with Astro
|
- name: Build with Astro
|
||||||
run: |
|
run: |
|
||||||
${{ steps.detect-package-manager.outputs.runner }} astro build
|
${{ steps.detect-package-manager.outputs.runner }} astro build
|
||||||
working-directory: ${{ env.BUILD_PATH }}
|
working-directory: ${{ env.BUILD_PATH }}
|
||||||
- uses: webfactory/ssh-agent@v0.9.0
|
|
||||||
with:
|
|
||||||
ssh-private-key: ${{ secrets.KEY }}
|
|
||||||
- name: Deploy to my server
|
- name: Deploy to my server
|
||||||
uses: up9cloud/action-rsync@master
|
uses: up9cloud/action-rsync@master
|
||||||
env:
|
env:
|
Loading…
Reference in New Issue
Block a user