Skip to content
This repository has been archived by the owner on Feb 17, 2024. It is now read-only.

Update mariadb:11.2.2 Docker digest to a9385bb #39

Update mariadb:11.2.2 Docker digest to a9385bb

Update mariadb:11.2.2 Docker digest to a9385bb #39

name: deploy-gnulinuxsa-wordpress
on:
push:
paths:
- '.github/workflows/gnulinuxsa-wordpress.yml'
- 'gnulinuxsa-wordpress/**'
branches: [main]
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
environment:
name: gnulinuxsa.org
url: https://gnulinuxsa.org
steps:
- name: checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Tailscale
uses: tailscale/github-action@65cdd9a05d7ebe4ef4e8c70141f5d84e1cd4cab4
with:
oauth-client-id: ${{ secrets.TAILSCALE_CLIENT_ID }}
oauth-secret: ${{ secrets.TAILSCALE_SECRET }}
tags: tag:deploy-ci
hostname: Github-actions
version: ${{ vars.TAILSCALE_VERSION }}
- name: Start Deployment
uses: FarisZR/[email protected]
env:
MARIADB_PASSWORD: ${{ secrets.gnulinuxsa_wordpress_mariadb_password }}
with:
remote_docker_host: ${{ secrets.server_address }}
tailscale_ssh: true # no need for manual private and public keys
compose_file_path: gnulinuxsa-wordpress/docker-compose.yml
args: -p gnulinuxsa-wordpress up -d --remove-orphans
upload_directory: true
docker_compose_directory: gnulinuxsa-wordpress