Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/develop' into bugfix/#449-remove…
Browse files Browse the repository at this point in the history
…-npm-lock
  • Loading branch information
fcaps committed Nov 9, 2023
2 parents ffc4960 + 614d2bd commit 40f9da7
Show file tree
Hide file tree
Showing 7 changed files with 52 additions and 33 deletions.
41 changes: 30 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,39 @@
name: Website Docker Release

on: [ push, pull_request ]

jobs:
build:

runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
docker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Build and push Docker images
uses: docker/[email protected]
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ vars.DOCKER_ORG || 'faforever' }}/faf-website
flavor: latest=false
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
-
name: Build Docker Image
uses: docker/build-push-action@v5
-
name: Login to Docker Hub
uses: docker/login-action@v3
if: ${{ github.ref_name == 'develop' || startsWith(github.ref, 'refs/tags') }}
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: faforever/faf-website
push: ${{ github.ref == 'refs/heads/develop' || startsWith(github.ref, 'refs/tags') }}
tag_with_ref: true
-
name: Push Docker Image
uses: docker/build-push-action@v5
if: ${{ github.ref_name == 'develop' || startsWith(github.ref, 'refs/tags') }}
with:
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@
"html-ellipsis": "2.0.4",
"json-api-models": "^0.1.0-beta.8",
"moment": "^2.29.4",
"moment-timezone": "0.5.34",
"moment-timezone": "0.5.35",
"node-fetch": "^2.6.7",
"parse-link-header": "^2.0.0",
"passport": "^0.6.0",
"passport-discord": "^0.1.4",
"passport-openidconnect": "^0.1.1",
"postcss": "^8.4.14",
"postcss": "^8.4.31",
"pug": "3.0.2",
"request": "2.88.2",
"semver-regex": "^4.0.5",
Expand Down
8 changes: 4 additions & 4 deletions templates/views/contribution.pug
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ block content
h2.highlightText Infinite possibilities
h1 Creating maps and mods
p Make your wildest dreams come true and create the twin barrel Monkeylord or release your inner artist and create the Mona Lisa of Maps. Our vaults are always open for new and exciting maps and mods! If you have doubts about where to start or are stuck, we recommend joining our Discord for answers!
a(target='_blank' href='https://wiki.faforever.com/en/FA-Forever-Map-Editor')
a(target='_blank' href='https://wiki.faforever.com/en/Development/Mapping/FA-Forever-Map-Editor')
button Map Editor Guide
a(target='_blank' href='https://wiki.faforever.com/en/Modding')
a(target='_blank' href='https://wiki.faforever.com/en/Development/Modding/Modding')
button Mod Making Guide
a(target='_blank' href='https://www.youtube.com/playlist?list=PL0nxuIUIjpFvqJ5i1HfPwoA8FnBCtGLWn')
button Youtube Playlist
Expand All @@ -40,7 +40,7 @@ block content
h2.highlightText Become our guinea pig
h1 Testing & bug reports
p Want to be the first one to try the latest features? Then you can help as a tester for balance patches, client updates and by testing the latest new mods or AIs from our developers. Just join our Discord and grab the tester role!
a(target='_blank' href='https://discord.gg/mXahVSKGVb')
a(target='_blank' href='https://discord.com/channels/197033481883222026/1111359811230113814')
button Join our discord

.showcaseImage.testerBG.column6
Expand All @@ -50,6 +50,6 @@ block content
h2.highlightText Show your skills
h1 Graphic design and promotion
p Everytime there is a new event, we need anything from pixel art client avatars, poster graphics, tourney logos to video animations for our Twitch casters. No matter the art style, we'll take any artists that want to contribute with their FAF related artwork and skills! Just join the discord and look for the promotions team!
a(target='_blank' href='https://discord.com/channels/197033481883222026/1004799568350818435')
a(target='_blank' href='https://discord.com/channels/197033481883222026/1108833863817498656')
button Join our Discord

2 changes: 1 addition & 1 deletion templates/views/newshub.pug
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ body
ul NEW PLAYERS
a(target='_blank' href='https://forum.faforever.com/category/18/frequently-asked-questions') FAQ
a(target='_blank' href='https://youtu.be/Nks9loE96ok') First Time in FAF
a(target='_blank' href='https://wiki.faforever.com/en/Learning-SupCom') Community Guides
a(target='_blank' href='https://wiki.faforever.com/en/Play/Learning/Learning-SupCom') Community Guides
.clientMenuContainer.column2
ul COMMUNITY
a(target='_blank' href='https://forum.faforever.com/') Forums
Expand Down
2 changes: 1 addition & 1 deletion templates/views/scfa-vs-faf.pug
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ block content
.descriptionContainer
h2 Significant Changes in FAF
p In this page you will find the biggest and most signficant changes done in FAF. From certain mods being part of the game (such as Engymod), adding additional hotkey layouts and more customization, allowing 16 player matches, to all the small unit value tweaks (such as reducing AA damage from Restorers). If you want to learn all the details, you can read more in the FAF wiki.
a(href='https://wiki.faforever.com/en/Changes-from-steam' target='_blank')
a(href='https://wiki.faforever.com/en/FAQ/Changes-from-steam' target='_blank')
button Wiki Steam Changes Page
.changeMain
.changeSubGrid.column4
Expand Down
2 changes: 1 addition & 1 deletion templates/views/tutorials-guides.pug
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ block content
a(href='https://forum.faforever.com/topic/766/ladder-1v1-beginner-intermediate-and-advanced-topics-by-arma473' target='_blank')
h1 1v1 Guide
.tutorialContainer.column12
a(href='https://wiki.faforever.com/en/Learning-SupCom' target='_blank')
a(href='https://wiki.faforever.com/en/Play/Learning/Learning-SupCom' target='_blank')
h1 ALL FAF GUIDES

.descriptionMain
Expand Down
26 changes: 13 additions & 13 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1926,10 +1926,10 @@ mkdirp@~1.0.4:
resolved "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz"
integrity sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==

[email protected].34:
version "0.5.34"
resolved "https://registry.npmjs.org/moment-timezone/-/moment-timezone-0.5.34.tgz"
integrity sha512-3zAEHh2hKUs3EXLESx/wsgw6IQdusOT8Bxm3D9UrHPQR7zlMmzwybC8zHEM1tQ4LJwP7fcxrWr8tuBg05fFCbg==
[email protected].35:
version "0.5.35"
resolved "https://registry.yarnpkg.com/moment-timezone/-/moment-timezone-0.5.35.tgz#6fa2631bdbe8ff04f6b8753f7199516be6dc9839"
integrity sha512-cY/pBOEXepQvlgli06ttCTKcIf8cD1nmNwOKQQAdHBqYApQSpAqotBMX0RJZNgMp6i0PlZuf1mFtnlyEkwyvFw==
dependencies:
moment ">= 2.9.0"

Expand Down Expand Up @@ -1959,10 +1959,10 @@ multimatch@^4.0.0:
arrify "^2.0.1"
minimatch "^3.0.4"

nanoid@^3.3.4:
version "3.3.4"
resolved "https://registry.npmjs.org/nanoid/-/nanoid-3.3.4.tgz"
integrity sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw==
nanoid@^3.3.6:
version "3.3.6"
resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.6.tgz#443380c856d6e9f9824267d960b4236ad583ea4c"
integrity sha512-BGcqMMJuToF7i1rt+2PWSNVnWIkGCU78jBG3RxO/bZlnZPK2Cmi2QaffxGO/2RvWi9sL+FAiRiXMgsyxQ1DIDA==

[email protected]:
version "0.6.3"
Expand Down Expand Up @@ -2395,12 +2395,12 @@ postcss@^6.0.11:
source-map "^0.6.1"
supports-color "^5.4.0"

postcss@^8.4.14:
version "8.4.18"
resolved "https://registry.npmjs.org/postcss/-/postcss-8.4.18.tgz"
integrity sha512-Wi8mWhncLJm11GATDaQKobXSNEYGUHeQLiQqDFG1qQ5UTDPTEvKw0Xt5NsTpktGTwLps3ByrWsBrG0rB8YQ9oA==
postcss@^8.4.31:
version "8.4.31"
resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.31.tgz#92b451050a9f914da6755af352bdc0192508656d"
integrity sha512-PS08Iboia9mts/2ygV3eLpY5ghnUcfLV/EXTOW1E2qYxJKGGBUtNjN76FYHnMs36RmARn41bC0AZmn+rR0OVpQ==
dependencies:
nanoid "^3.3.4"
nanoid "^3.3.6"
picocolors "^1.0.0"
source-map-js "^1.0.2"

Expand Down

0 comments on commit 40f9da7

Please sign in to comment.