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