ci: add env file step
All checks were successful
/ Build (push) Successful in 25s

This commit is contained in:
log101 2024-06-11 14:43:13 +03:00
parent 56cc8e7831
commit b5d2cfc18c

View File

@ -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: