master -> main

This commit is contained in:
JustArchi
2021-01-20 21:14:45 +01:00
parent 724cc8f6d4
commit 01bc30e49c
14 changed files with 28 additions and 26 deletions

View File

@@ -69,10 +69,10 @@ jobs:
- name: Upload latest strings for translation on Crowdin
continue-on-error: true
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' && startsWith(matrix.os, 'ubuntu-') }}
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' && startsWith(matrix.os, 'ubuntu-') }}
uses: crowdin/github-action@1.0.9
with:
crowdin_branch_name: master
crowdin_branch_name: main
project_id: ${{ secrets.ASF_CROWDIN_PROJECT_ID }}
token: ${{ secrets.ASF_CROWDIN_API_TOKEN }}
@@ -233,7 +233,7 @@ jobs:
# Update link in Changelog.html accordingly
if (Test-Path "out\$variant\Changelog.html" -PathType Leaf) {
(Get-Content "out\$variant\Changelog.html").Replace('ArchiSteamFarm/commits/master', "ArchiSteamFarm/releases/tag/$tag") | Set-Content "out\$variant\Changelog.html"
(Get-Content "out\$variant\Changelog.html").Replace('ArchiSteamFarm/commits/main', "ArchiSteamFarm/releases/tag/$tag") | Set-Content "out\$variant\Changelog.html"
}
}

View File

@@ -1,12 +1,12 @@
name: ASF-docker-publish-master
name: ASF-docker-publish-main
on:
push:
branches:
- master
- main
env:
TAG: master
TAG: main
jobs:
main:

View File

@@ -21,8 +21,8 @@ jobs:
cd wiki
git fetch --depth=1 origin master
git reset --hard origin/master
git fetch --depth=1 origin main
git reset --hard origin/main
- name: Download latest translations from Crowdin
uses: crowdin/github-action@1.0.9
@@ -31,7 +31,7 @@ jobs:
download_translations: true
skip_untranslated_strings: true
push_translations: false
crowdin_branch_name: master
crowdin_branch_name: main
project_id: ${{ secrets.ASF_CROWDIN_PROJECT_ID }}
token: ${{ secrets.ASF_CROWDIN_API_TOKEN }}
env: