Bump MW image #554
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Mediawiki Kubernetes Cluster Deployment | |
on: | |
push: | |
branches: | |
- 'smw' | |
jobs: | |
docker: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: azure/setup-kubectl@v3 | |
id: install | |
- uses: actions/checkout@v3 | |
- name: Kubernetes Set Context | |
uses: Azure/[email protected] | |
with: | |
cluster-type: generic | |
method: kubeconfig | |
kubeconfig: ${{ secrets.KUBECONFIG }} | |
- name: MEDIAWIKI Secrets | |
uses: Azure/[email protected] | |
with: | |
secret-type: 'generic' | |
secret-name: mediawiki-keys | |
data: ${{ secrets.MEDIAWIKI_KEYS }} | |
- name: PRD_DB_PASSWORD Secret | |
uses: Azure/[email protected] | |
with: | |
secret-type: 'generic' | |
secret-name: prd-db-password | |
data: ${{ secrets.PRD_DB_PASSWORD }} | |
- name: PLAUSIBLE_POSTGRES Secret | |
uses: Azure/[email protected] | |
with: | |
secret-type: 'generic' | |
secret-name: plausible-postgres | |
data: ${{ secrets.PLAUSIBLE_POSTGRES }} | |
- name: PLAUSIBLE_CONFIG Secret | |
uses: Azure/[email protected] | |
with: | |
secret-type: 'generic' | |
secret-name: plausible-config | |
data: ${{ secrets.PLAUSIBLE_CONFIG }} | |
- name: BACKUP_KEYS Secret | |
uses: Azure/[email protected] | |
with: | |
secret-type: 'generic' | |
secret-name: backup-keys | |
data: ${{ secrets.BACKUP_KEYS }} | |
- name: IMAGES_KEYS Secret | |
uses: Azure/[email protected] | |
with: | |
secret-type: 'generic' | |
secret-name: images-keys | |
data: ${{ secrets.IMAGES_KEYS }} | |
- name: SITEMAP_KEYS Secret | |
uses: Azure/[email protected] | |
with: | |
secret-type: 'generic' | |
secret-name: sitemap-keys | |
data: ${{ secrets.SITEMAP_KEYS }} | |
- name: Deploy to Kubernetes cluster | |
uses: Azure/[email protected] | |
with: | |
# Path to the manifest files which will be used for deployment. | |
manifests: | | |
mediawiki | |
plausible | |
shared | |
strategy: basic | |
action: deploy |