diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 9871954..108dd11 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -54,18 +54,19 @@ jobs: with: ssh-private-key: ${{ secrets.ssh-private-key }} - - name: Get bitwarden secrets - uses: https://git.qlic.nl/actions/warden@0f7c20e319abd313450baa6238708a32de5fd194 + - name: Bitwarden + uses: https://git.qlic.nl/actions/warden@e0a78ea1c3e894453f1d67de0cfe554256025d0f with: + email: ${{ inputs.warden-email }} + password: ${{ inputs.warden-password }} client-id: ${{ inputs.warden-client-id }} client-secret: ${{ inputs.warden-client-secret }} - password: ${{ inputs.warden-password }} - server: ${{ inputs.warden-server }} - secrets: ${{ inputs.secrets }} + secrets: | + 9f0d240a-ba74-40be-b096-39d8d4477c05 > DOT_ENV - name: Create .env file from secret run: | - echo "$DOT_ENV" > .kamal/secrets.${{ inputes.environment }} + echo "$DOT_ENV" > .kamal/secrets.${{ inputs.environment }} - name: Append kamal registry password run: echo "KAMAL_REGISTRY_PASSWORD=${{ inputs.password }}" >> .kamal/secrets.${{ inputs.environment }}