1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2026-09-24 12:55:19 +00:00

Add alpha build functionality

This commit is contained in:
tobspr
2020-07-05 12:54:43 +02:00
parent 5e67ae8548
commit 83d635269c
2 changed files with 12 additions and 3 deletions

View File

@@ -15,6 +15,11 @@ function gulptasksFTP($, gulp, buildFolder) {
];
const credentials = {
alpha: {
host: process.env.SHAPEZ_CLI_SERVER_HOST,
user: process.env.SHAPEZ_CLI_ALPHA_FTP_USER,
pass: process.env.SHAPEZ_CLI_ALPHA_FTP_PW,
},
staging: {
host: process.env.SHAPEZ_CLI_SERVER_HOST,
user: process.env.SHAPEZ_CLI_STAGING_FTP_USER,
@@ -51,7 +56,7 @@ function gulptasksFTP($, gulp, buildFolder) {
path.join(buildFolder, "!**/index.html"),
];
for (const deployEnv of ["prod", "staging"]) {
for (const deployEnv of ["alpha", "prod", "staging"]) {
const deployCredentials = credentials[deployEnv];
gulp.task(`ftp.upload.${deployEnv}.game`, () => {