Compare commits
1 Commits
v1
..
29cb434959
| Author | SHA1 | Date | |
|---|---|---|---|
|
29cb434959
|
@@ -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 }}
|
||||||
|
|||||||
Reference in New Issue
Block a user