diff --git a/.gitea/workflows/setup_native.yml b/.gitea/workflows/setup_native.yml index 817e7466f..7aed480c6 100644 --- a/.gitea/workflows/setup_native.yml +++ b/.gitea/workflows/setup_native.yml @@ -25,6 +25,14 @@ jobs: - name: Create Python virtual environment run: python -m venv venv + + - name: Make envfile + uses: SpicyPizza/create-envfile@v2.0 + with: + PG_USER: ${{ secrets.PG_USER }} + PG_PASSWORD: ${{ secrets.PG_PASSWORD }} + DB_SERVER: ${{ vars.DB_SERVER }} + DB_PORT: ${{ vars.DB_PORT }} - name: Activate virtual environment and install dependencies run: make install @@ -34,14 +42,6 @@ jobs: with: postgresql version: '16' - - name: Make envfile - uses: SpicyPizza/create-envfile@v2.0 - with: - PG_USER: ${{ secrets.PG_USER }} - PG_PASSWORD: ${{ secrets.PG_PASSWORD }} - DB_SERVER: ${{ vars.DB_SERVER }} - DB_PORT: ${{ vars.DB_PORT }} - - name: Generate Config run: make gen_config