From 666c777d2f02926aa87b6b529b568af21ef7e5ee Mon Sep 17 00:00:00 2001 From: FriendlyNeighborhoodShane Date: Thu, 3 Dec 2020 19:09:56 +0530 Subject: [PATCH] Create run YMLs --- .github/workflows/run.yml | 15 +++++++++++++++ .gitlab-ci.yml | 8 ++++++++ 2 files changed, 23 insertions(+) create mode 100644 .github/workflows/run.yml create mode 100644 .gitlab-ci.yml diff --git a/.github/workflows/run.yml b/.github/workflows/run.yml new file mode 100644 index 0000000..360e29f --- /dev/null +++ b/.github/workflows/run.yml @@ -0,0 +1,15 @@ +# Simple, no-dependency config to execute a file + +on: + push: + workflow_dispatch: + +jobs: + run: + runs-on: ubuntu-latest + env: + GITHUB_TOKEN: ${{ github.token }} + steps: + - run: | + git clone --single-branch "$GITHUB_SERVER_URL/$GITHUB_REPOSITORY" . + ./run diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..b06b5b5 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,8 @@ +# Simple, no-dependency config to execute a file + +run: + image: ubuntu:latest + variables: + GITLAB_TOKEN: $CI_JOB_TOKEN + script: | + ./run