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