-
Notifications
You must be signed in to change notification settings - Fork 236
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into balance/mercy-cost-buff
- Loading branch information
Showing
218 changed files
with
11,037 additions
and
264 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,9 +20,12 @@ | |
|
||
name: Deploy to FAF | ||
|
||
# Prevent simultaneous deployments across all deployment branches as | ||
# the server is unable to process multiple deployments at the same time. | ||
|
||
concurrency: | ||
cancel-in-progress: true | ||
group: deploy/faf | ||
group: deployment | ||
|
||
on: | ||
workflow_dispatch: | ||
|
@@ -41,7 +44,38 @@ jobs: | |
uses: actions/checkout@v4 | ||
with: | ||
repository: FAForever/fa | ||
ref: develop | ||
ref: master | ||
|
||
# Allows us to better understand the game version and the specific commit hash when we receive a log | ||
- name: Update version references | ||
run: | | ||
COMMITHASH=$(git rev-parse HEAD) | ||
sed -i "s/local Commit = 'unknown'/local Commit = \"${COMMITHASH}\"/" "lua/version.lua" | ||
sed -i "s/local GameType = 'unknown'/local GameType = \"FAF\"/" "lua/version.lua" | ||
# debugging | ||
cat lua/version.lua | ||
# Disable debugging statements | ||
- name: Overwrite debug references | ||
run: | | ||
sed -i "s/EnabledSpewing = true,/EnabledSpewing = false,/" "lua/shared/components/DebugComponent.lua" | ||
sed -i "s/EnabledLogging = true,/EnabledLogging = false,/" "lua/shared/components/DebugComponent.lua" | ||
sed -i "s/EnabledWarnings = true,/EnabledWarnings = false,/" "lua/shared/components/DebugComponent.lua" | ||
sed -i "s/EnabledDrawing = true,/EnabledDrawing = false,/" "lua/shared/components/DebugComponent.lua" | ||
# debugging | ||
cat lua/shared/components/DebugComponent.lua | ||
# Create a commit with the changes of the workflow in it | ||
- name: Create a commit | ||
run: | | ||
# Configure git | ||
git config user.email "[email protected]" | ||
git config user.name "FAForever" | ||
git add . | ||
git commit -m "Post-process deployment" | ||
# Update the deploy/faf branch, we force push here because | ||
# we're not interested in fixing conflicts | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,9 +20,12 @@ | |
|
||
name: Deploy to FAF Beta Balance | ||
|
||
# Prevent simultaneous deployments across all deployment branches as | ||
# the server is unable to process multiple deployments at the same time. | ||
|
||
concurrency: | ||
cancel-in-progress: true | ||
group: deploy/fafbeta | ||
group: deployment | ||
|
||
on: | ||
workflow_dispatch: | ||
|
@@ -44,6 +47,36 @@ jobs: | |
repository: FAForever/fa | ||
ref: develop | ||
|
||
# Allows us to better understand the game version and the specific commit hash when we receive a log | ||
- name: Update version references | ||
run: | | ||
COMMITHASH=$(git rev-parse HEAD) | ||
sed -i "s/local Commit = 'unknown'/local Commit = \"${COMMITHASH}\"/" "lua/version.lua" | ||
sed -i "s/local GameType = 'unknown'/local GameType = \"FAF Beta Balance\"/" "lua/version.lua" | ||
# debugging | ||
cat lua/version.lua | ||
# Disable debugging statements | ||
# | ||
# You can overwrite these adjustments by setting up a `Debug` folder | ||
- name: Overwrite debug references | ||
run: | | ||
sed -i "s/EnabledDrawing = true,/EnabledDrawing = false,/" "lua/shared/components/DebugComponent.lua" | ||
# debugging | ||
cat lua/shared/components/DebugComponent.lua | ||
# Create a commit with the changes of the workflow in it | ||
- name: Create a commit | ||
run: | | ||
# Configure git | ||
git config user.email "[email protected]" | ||
git config user.name "FAForever" | ||
git add . | ||
git commit -m "Post-process deployment" | ||
# Update the deploy/fafbeta branch, we force push here because | ||
# we're not interested in fixing conflicts | ||
- name: Update deploy/fafbeta | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,9 +20,12 @@ | |
|
||
name: Deploy to FAF Develop | ||
|
||
# Prevent simultaneous deployments across all deployment branches as | ||
# the server is unable to process multiple deployments at the same time. | ||
|
||
concurrency: | ||
cancel-in-progress: true | ||
group: deploy/fafdevelop | ||
group: deployment | ||
|
||
on: | ||
workflow_dispatch: | ||
|
@@ -44,6 +47,36 @@ jobs: | |
repository: FAForever/fa | ||
ref: develop | ||
|
||
# Allows us to better understand the game version and the specific commit hash when we receive a log | ||
- name: Update version references | ||
run: | | ||
COMMITHASH=$(git rev-parse HEAD) | ||
sed -i "s/local Commit = 'unknown'/local Commit = \"${COMMITHASH}\"/" "lua/version.lua" | ||
sed -i "s/local GameType = 'unknown'/local GameType = \"FAF Develop\"/" "lua/version.lua" | ||
# debugging | ||
cat lua/version.lua | ||
# Disable debugging statements | ||
# | ||
# You can overwrite these adjustments by setting up a `Debug` folder | ||
- name: Overwrite debug references | ||
run: | | ||
sed -i "s/EnabledDrawing = true,/EnabledDrawing = false,/" "lua/shared/components/DebugComponent.lua" | ||
# debugging | ||
cat lua/shared/components/DebugComponent.lua | ||
# Create a commit with the changes of the workflow in it | ||
- name: Create a commit | ||
run: | | ||
# Configure git | ||
git config user.email "[email protected]" | ||
git config user.name "FAForever" | ||
git add . | ||
git commit -m "Post-process deployment" | ||
# Update the deploy/fafdevelop branch, we force push here because | ||
# we're not interested in fixing conflicts | ||
- name: Update deploy/fafdevelop | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.