From e74227394e65ee91808321fd71b57daeb1ff495e Mon Sep 17 00:00:00 2001 From: Drew Short Date: Sat, 13 Jan 2018 00:29:45 -0600 Subject: [PATCH] Setting the CI to export the config files --- .gitlab-ci.yml | 1 + gruntfile.js | 2 +- src/spm/spm.lua | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 508ef2b..6b3bf07 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -14,6 +14,7 @@ compile: expire_in: 6 hours paths: - dist/**/*.lua + - dist/**/*.cfg only: - master - develop diff --git a/gruntfile.js b/gruntfile.js index 5d3763d..6916298 100644 --- a/gruntfile.js +++ b/gruntfile.js @@ -8,7 +8,7 @@ module.exports = function (grunt) { files: [{ expand: true, cwd: "./src", - src: ["**/license*", "**/*.lua", "*.cfg"], + src: ["**/license*", "**/*.lua", "**/*.cfg"], dest: "dist/", filter: 'isFile' }] diff --git a/src/spm/spm.lua b/src/spm/spm.lua index 5eac0b6..6007be7 100644 --- a/src/spm/spm.lua +++ b/src/spm/spm.lua @@ -22,7 +22,7 @@ end local internet = require("internet") --local repoLocationConfig="https://raw.githubusercontent.com/OpenPrograms/openprograms.github.io/master/repos.cfg" -local repoLocationConfig = "https://sothr.com/download/oc/releases/repos.cfg" +local repoLocationConfig = "https://sothr.com/download/oc/release/repos.cfg" local args, options = shell.parse(...)