switch master branch to main
All checks were successful
Website Prod/Test / Produktivumgebung (push) Successful in 19s
Website Prod/Test / Testumgebung (push) Successful in 9s

This commit is contained in:
Denys Konovalov 2024-07-07 12:12:05 +02:00
parent e577849978
commit 8c4157e768
3 changed files with 6 additions and 6 deletions

@ -2,13 +2,13 @@ name: Website Prod/Test
on:
push:
branches: [master]
branches: [main]
schedule:
- cron: '@daily'
defaults:
run:
working-directory: /opt/runner/workdir/gcg-website-master
working-directory: /opt/runner/workdir/gcg-website-main
jobs:
prod-build:
@ -19,7 +19,7 @@ jobs:
- name: Pull
run: |
git fetch --all
git reset --hard origin/master
git reset --hard origin/main
- name: Build
run: |
rm -rf public
@ -43,7 +43,7 @@ jobs:
- name: Pull
run: |
git fetch --all
git reset --hard origin/master
git reset --hard origin/main
- name: Build
run: |
rm -rf test

@ -23,7 +23,7 @@ const config = {
backend: {
name: "gitea",
repo: "gcg/gcg-website",
branch: "master",
branch: "main",
api_root: "https://git.cantorgymnasium.de/api/v1",
base_url: "https://git.cantorgymnasium.de",
app_id: "1b612fb1-fbc1-44b2-9b9d-6eeb1dc55bff",

@ -13,7 +13,7 @@ const config = {
backend: {
name: "gitea",
repo: "gcg/gcg-website",
branch: "master",
branch: "main",
api_root: "https://git.cantorgymnasium.de/api/v1",
base_url: "https://git.cantorgymnasium.de",
app_id: "1b612fb1-fbc1-44b2-9b9d-6eeb1dc55bff",