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