Fixing pipeline.
Gitea Branch PR, Cloudflare DNS, README generation, & Ansible/Docker Deployment / Check and Create PR (push) Has been cancelled
Gitea Branch PR, Cloudflare DNS, README generation, & Ansible/Docker Deployment / Docker Compose & Ansible Lints (push) Has been cancelled
Gitea Branch PR, Cloudflare DNS, README generation, & Ansible/Docker Deployment / Cloudflare DNS Setup (push) Has been cancelled
Gitea Branch PR, Cloudflare DNS, README generation, & Ansible/Docker Deployment / Update README (push) Has been cancelled
Gitea Branch PR, Cloudflare DNS, README generation, & Ansible/Docker Deployment / PR Merge (push) Has been cancelled
Gitea Branch PR, Cloudflare DNS, README generation, & Ansible/Docker Deployment / Deploy via Ansible & Docker Compose (push) Has been cancelled

This commit is contained in:
2025-01-19 20:51:47 -05:00
parent c7308b9dc4
commit 7719735849
@@ -201,13 +201,25 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with:
ref: main ref: main
- name: Gotify Notification # - name: Gotify Notification
uses: eikendev/gotify-action@master # uses: eikendev/gotify-action@master
# with:
# gotify_api_base: '${{ secrets.RINOA_GOTIFY_URL }}'
# gotify_app_token: '${{ secrets.RINOA_RUNNER_GOTIFY_TOKEN }}'
# notification_title: 'Ansible Config Deployment @ Rinoa'
# notification_message: 'Deployment completed successfully.'
- name: Cache Vault install
id: cache-vault
uses: actions/cache@v4
with: with:
gotify_api_base: '${{ secrets.RINOA_GOTIFY_URL }}' path: /opt/hostedtoolcache/vault/1.18.0/x64
gotify_app_token: '${{ secrets.RINOA_RUNNER_GOTIFY_TOKEN }}' key: vault-${{ runner.os }}-1.18.0
notification_title: 'Ansible Config Deployment @ Rinoa' - name: Install Vault
notification_message: 'Deployment completed successfully.' uses: supplypike/setup-bin@v4
with:
uri: 'https://releases.hashicorp.com/vault/1.18.0/vault_1.18.0_linux_amd64.zip'
name: 'vault'
version: '1.18.0'
- name: Generate .env file for deployment - name: Generate .env file for deployment
run: | run: |
vault kv get -format=json rinoa-docker/env | jq -r '.data.data' | jq -r 'keys[] as $k | "\($k)='\''\(.[$k])'\''"' > .env vault kv get -format=json rinoa-docker/env | jq -r '.data.data' | jq -r 'keys[] as $k | "\($k)='\''\(.[$k])'\''"' > .env
@@ -222,7 +234,7 @@ jobs:
- name: Gotify Notification - name: Gotify Notification
uses: eikendev/gotify-action@master uses: eikendev/gotify-action@master
with: with:
gotify_api_base: '${{ secrets.gotify_api_base }}' gotify_api_base: '${{ secrets.RINOA_GITEA_PUBLIC_SSH_KEY }}'
gotify_app_token: '${{ secrets.gotify_app_token }}' gotify_app_token: '${{ secrets.RINOA_RUNNER_GOTIFY_TOKEN }}'
notification_title: 'Docker ComposeDeployment @ Rinoa' notification_title: 'Docker Compose Deployment @ Rinoa'
notification_message: 'Deployment completed successfully.' notification_message: 'Deployment completed successfully.'