diff --git a/.gitea/workflows/deploy-frontend.yaml b/.gitea/workflows/deploy-frontend.yaml index 51e4b9b2..1f604639 100644 --- a/.gitea/workflows/deploy-frontend.yaml +++ b/.gitea/workflows/deploy-frontend.yaml @@ -5,6 +5,12 @@ on: branches: - main +env: + REGISTRY_USER_KEY: ${{ secrets.REGISTRY_USER_KEY }} + REGISTRY_BOND_ID: ${{ secrets.REGISTRY_BOND_ID }} + DEPLOYER_LRN: lrn://vaasl-provider/deployers/webapp-deployer-api.apps.vaasl.io + AUTHORITY: laconic-deploy + jobs: deploy: runs-on: ubuntu-latest @@ -32,24 +38,24 @@ jobs: - name: Set up environment run: | - # Create a .env file with the necessary environment variables from GitHub secrets - echo "REGISTRY_BOND_ID=${{ secrets.REGISTRY_BOND_ID }}" > packages/deployer/.env - echo "DEPLOYER_LRN=lrn://vaasl-provider/deployers/webapp-deployer-api.apps.vaasl.io" >> packages/deployer/.env - echo "AUTHORITY=laconic-deploy" >> packages/deployer/.env + # Create a .env file with the necessary variables + echo "REGISTRY_BOND_ID=$REGISTRY_BOND_ID" > packages/deployer/.env + echo "DEPLOYER_LRN=$DEPLOYER_LRN" >> packages/deployer/.env + echo "AUTHORITY=$AUTHORITY" >> packages/deployer/.env - # Create a config file with necessary endpoints and placeholders for secrets + # Create a config file with necessary endpoints and secrets cat > packages/deployer/config.yml <