Compare commits
1 Commits
v1
..
9ec5f3fa4f
| Author | SHA1 | Date | |
|---|---|---|---|
|
9ec5f3fa4f
|
@@ -65,11 +65,13 @@ jobs:
|
||||
with:
|
||||
email: ${{ inputs.warden-email }}
|
||||
password: ${{ inputs.warden-password }}
|
||||
server: ${{ inputs.warden-server }}
|
||||
client-id: ${{ inputs.warden-client-id }}
|
||||
client-secret: ${{ inputs.warden-client-secret }}
|
||||
secrets: ${{ inputs.secrets }}
|
||||
dot-env-path: ${{ github.workspace }}/.kamal/secrets.${{ inputs.environment }}
|
||||
|
||||
- name: Create .env file from secret
|
||||
run: |
|
||||
echo "$DOT_ENV" > .kamal/secrets.${{ inputs.environment }}
|
||||
|
||||
- name: Append kamal registry password
|
||||
run: echo "KAMAL_REGISTRY_PASSWORD=${{ inputs.password }}" >> .kamal/secrets.${{ inputs.environment }}
|
||||
@@ -98,7 +100,7 @@ jobs:
|
||||
|
||||
|
||||
- name: Boot accessories
|
||||
run: kamal accessory boot all -d ${{ inputs.environment }}
|
||||
run: kamal accessory reboot all -d ${{ inputs.environment }}
|
||||
|
||||
- name: Deploy
|
||||
run: kamal deploy -d ${{ inputs.environment }}
|
||||
|
||||
@@ -21,8 +21,8 @@ jobs:
|
||||
uses: git.qlic.nl/qlic/workflows/kamal/.gitea/workflows/deploy.yml@main
|
||||
secrets:
|
||||
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||
certificate-pem: ${{ secrets.CERTIFICATE_PEM }} # Optional: Custom SSL certificate (use fullchain)
|
||||
private-key-pem: ${{ secrets.PRIVATE_KEY_PEM }} # Optional: Custom SSL private key
|
||||
certificate-pem: ${{ secrets.CERTIFICATE_PEM }} # Optional
|
||||
private-key-pem: ${{ secrets.PRIVATE_KEY_PEM }} # Optional
|
||||
with:
|
||||
environment: "production"
|
||||
warden-client-id: ${{ vars.WARDEN_CLIENT_ID }}
|
||||
|
||||
Reference in New Issue
Block a user