summaryrefslogtreecommitdiff
path: root/.github
diff refs
from: back
to: back
| flip
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build-and-deploy-prod.yml8
-rw-r--r--.github/workflows/build-and-deploy-stage.yml6
2 files changed, 7 insertions, 7 deletions
diff --git a/.github/workflows/build-and-deploy-prod.yml b/.github/workflows/build-and-deploy-prod.yml
index 2654c11..24b6e0e 100644
--- a/.github/workflows/build-and-deploy-prod.yml
+++ b/.github/workflows/build-and-deploy-prod.yml
@@ -12,7 +12,7 @@ jobs:
packages: write
steps:
- name: Checkout
- uses: actions/checkout@v4
+ uses: actions/checkout@v6
- name: Generate output.css with tailwindcss
uses: ZoeyVid/tailwindcss-update@main
with:
@@ -28,7 +28,7 @@ jobs:
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
- password: "${{ secrets.GHCR_TOKEN }}"
+ password: ${{ secrets.GHCR_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v6
with:
@@ -53,7 +53,7 @@ jobs:
run: |
mkdir -p ~/.ssh
(cat <<EOF
- "${{ secrets.SVC_GITHUB_PK }}"
+ ${{ secrets.SVC_GITHUB_PK }}
EOF
) > ~/.ssh/id_ed25519
chmod 600 ~/.ssh/id_ed25519
@@ -75,4 +75,4 @@ jobs:
ANSIBLE_HOST_KEY_CHECKING: False
working-directory: ./deploy
run: |
- ansible-playbook -i inventory.yml -l prod playbook.yml --private-key ~/.ssh/id_ed25519 -u svc_github -e saya_today_web_auth_salt="${{ secrets.AUTH_SALT }}" -e saya_today_web_b2_key_id="${{ secrets.B2_KEY_ID }}" -e saya_today_web_b2_application_key="${{ secrets.B2_APPLICATION_KEY }}" -e saya_today_web_environment=prod -e saya_today_web_tag=${{ github.ref_name }} -e saya_today_web_mail_salt="${{ secrets.MAIL_SALT }}" -e saya_today_web_mail_host="${{ secrets.MAIL_HOST }}" -e saya_today_web_mail_address="${{ secrets.MAIL_ADDRESS }}" -e saya_today_web_mail_username="${{ secrets.MAIL_USERNAME }}" -e saya_today_web_mail_password="${{ secrets.MAIL_PASSWORD }}"
+ ansible-playbook -i inventory.yml -l prod playbook.yml --private-key ~/.ssh/id_ed25519 -u svc_github -e saya_today_web_auth_salt="${{ secrets.AUTH_SALT }}" -e saya_today_web_b2_key_id="${{ secrets.B2_KEY_ID }}" -e saya_today_web_b2_application_key="${{ secrets.B2_APPLICATION_KEY }}" -e saya_today_web_environment=prod -e saya_today_web_tag=${{ github.ref_name }} -e saya_today_web_mail_salt="${{ secrets.MAIL_SALT }}" -e saya_today_web_mail_host="${{ secrets.MAIL_HOST }}" -e saya_today_web_mail_address="${{ secrets.MAIL_ADDRESS }}" -e saya_today_web_mail_username="${{ secrets.MAIL_USERNAME }}" -e saya_today_web_mail_password="${{ secrets.MAIL_PASSWORD }}" -e saya_today_google_site_verification="${{ secrets.GOOGLE_SITE_VERIFICATION }}"
diff --git a/.github/workflows/build-and-deploy-stage.yml b/.github/workflows/build-and-deploy-stage.yml
index bb3d7e1..c6e222b 100644
--- a/.github/workflows/build-and-deploy-stage.yml
+++ b/.github/workflows/build-and-deploy-stage.yml
@@ -11,7 +11,7 @@ jobs:
packages: write
steps:
- name: Checkout
- uses: actions/checkout@v4
+ uses: actions/checkout@v6
- name: Generate output.css with tailwindcss
uses: ZoeyVid/tailwindcss-update@main
@@ -31,7 +31,7 @@ jobs:
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
- password: "${{ secrets.GHCR_TOKEN }}"
+ password: ${{ secrets.GHCR_TOKEN }}
- name: Set github short sha
id: ghss_vars
@@ -60,7 +60,7 @@ jobs:
run: |
mkdir -p ~/.ssh
(cat <<EOF
- "${{ secrets.SVC_GITHUB_PK }}"
+ ${{ secrets.SVC_GITHUB_PK }}
EOF
) > ~/.ssh/id_ed25519
chmod 600 ~/.ssh/id_ed25519