ci: add .env creation from secrets in deploy workflow

This commit is contained in:
achmad
2026-05-29 00:03:58 +07:00
parent 34aa8c5a67
commit 5f7087cbbe
+7
View File
@@ -11,6 +11,13 @@ jobs:
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Create .env file
run: |
cat > .env <<EOF
DIRECTUS_TOKEN=${{ secrets.DIRECTUS_TOKEN }}
REVALIDATE_SECRET=${{ secrets.REVALIDATE_SECRET }}
EOF
- name: Build and redeploy - name: Build and redeploy
run: | run: |
docker compose build kotobane docker compose build kotobane