<?xml version="1.0" encoding="UTF-8"?>
<settings xmlns="http://maven.apache.org/SETTINGS/1.1.0"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.1.0 http://maven.apache.org/xsd/settings-1.1.0.xsd">
	<servers>
		<server>
			<id>ossrh</id>
			<username>${env.CI_DEPLOY_USERNAME}</username>
			<password>${env.CI_DEPLOY_PASSWORD}</password>
		</server>
		<server>
			<id>gh-pages</id>
		</server>
		<server>
			<id>github</id>
			<username>${env.CI_DEPLOY_USERNAME}</username>
			<password>${env.GITHUB_TOKEN}</password>
		</server>
	</servers>
</settings>

<?xml version="1.0" encoding="UTF-8"?>
<settings xmlns="http://maven.apache.org/SETTINGS/1.1.0"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.1.0 http://maven.apache.org/xsd/settings-1.1.0.xsd">
	<servers>
		<server>
			<id>ossrh</id>
			<username>${env.CI_DEPLOY_USERNAME}</username>
			<password>${env.CI_DEPLOY_PASSWORD}</password>
		</server>
        <server>
            <id>ossrh-snapshot</id>
            <username>${env.CI_DEPLOY_USERNAME}</username>
            <password>${env.CI_DEPLOY_PASSWORD}</password>
        </server>
		<server>
			<id>gh-pages</id>
		</server>
		<server>
			<id>github</id>
			<username>${env.CI_DEPLOY_USERNAME}</username>
			<password>${env.GITHUB_TOKEN}</password>
		</server>
	</servers>
</settings>

Copy credentials from OSSRH deployment id to snapshot id
Copy credentials from OSSRH deployment id to snapshot id