summaryrefslogtreecommitdiff
path: root/.github/workflows/build-and-deploy-prod.yml
diff options
from:
to:
context:
space:
mode:
Diffstat (limited to '.github/workflows/build-and-deploy-prod.yml')
-rw-r--r--.github/workflows/build-and-deploy-prod.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/.github/workflows/build-and-deploy-prod.yml b/.github/workflows/build-and-deploy-prod.yml
index 4689e28..d33f7af 100644
--- a/.github/workflows/build-and-deploy-prod.yml
+++ b/.github/workflows/build-and-deploy-prod.yml
@@ -40,6 +40,8 @@ jobs:
context: .
file: ./Dockerfile
push: true
+ cache-from: type=gha
+ cache-to: type=gha,mode=max
tags: |
ghcr.io/sayaandy/saya-today-web:latest
ghcr.io/sayaandy/saya-today-web:stable
@@ -87,8 +89,9 @@ jobs:
working-directory: ./deploy
run: |
ansible-playbook \
+ playbook.yml \
-i inventory.yml \
- -l prod playbook.yml \
+ -l prod \
--private-key ~/.ssh/id_ed25519 \
-u svc_github \
-e saya_today_web_auth_salt="${{ secrets.AUTH_SALT }}" \