-
Notifications
You must be signed in to change notification settings - Fork 7
/
actions.yaml
21 lines (21 loc) · 1017 Bytes
/
actions.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Copyright 2024 Canonical Ltd.
# See LICENSE file for licensing details.
get-initial-password:
description: >
Retrieve auto-generated initial password for accessing WordPress admin
account. The password is set once during deployment. If the wordpress-k8s charm is configured
with `initial_settings` parameters containing `admin_password`, this action has no effect.
rotate-wordpress-secrets:
description: >
Invalidate user sessions by rotating the following secrets:
auth_key, auth_salt, logged_in_key, logged_in_salt, nonce_key, nonce_salt, secure_auth_key,
secure_auth_salt.
Users will be forced to log in again. This might be useful under security breach circumstances.
update-database:
description: >
After upgrading WordPress to a new version it is typically necessary to run 'wp core update-db'
to migrate the database schema. This action does exactly that.
params:
dry-run:
type: boolean
description: Runs the 'wp core update-db --dry-run' command.