changed domain name
All checks were successful
ci/cd / Build (push) Successful in 15s

This commit is contained in:
Mariia Shabelnik 2024-01-08 18:24:04 +01:00
parent 368dce10e7
commit b34b33215b
2 changed files with 5 additions and 1 deletions

View File

@ -13,6 +13,7 @@ jobs:
echo "sha_short=$(git rev-parse --short "$GITHUB_SHA")" >> "$GITHUB_ENV"
echo "run_name=$(echo "$GITHUB_REPOSITORY" | sed "s/\//_/")" >> "$GITHUB_ENV"
echo "domain_name="www.mariia.art"" >> "$GITHUB_ENV"
echo "domain_name2="www.msweb.io"" >> "$GITHUB_ENV"
echo "docker_port="80"" >> "$GITHUB_ENV"
- name: Build docker
run: |
@ -22,6 +23,9 @@ jobs:
docker container rm -f ${{ env.run_name }} || true
docker run -d --network=web --restart unless-stopped --name ${{ env.run_name }} ${{ gitea.repository }}:${{ env.sha_short }}
/usr/local/bin/caddycontrol -host ${{ env.domain_name }} -dial ${{ env.run_name }}:${{ env.docker_port }}
/usr/local/bin/caddycontrol -host ${{ env.domain_name2 }} -dial ${{ env.run_name }}:${{ env.docker_port }}

View File

@ -75,7 +75,7 @@ function Header() {
<nav className="flex items-center h-full px-2">
<div className="flex-none text-3xl md:text-4xl font-black font-headline ">
<Link className={logoClasses.join(" ")} to="/#start">
MS.
MW
</Link>
</div>