pschoffer / gitpress

GitPress - WordPress but on git instead of DB
2 stars 1 forks source link

circleci pipeline for build #12

Closed forgondolin closed 4 years ago

pschoffer commented 4 years ago

I would like to get this PR in first so that we have the build there already, but as it is it also contains moving zip to mu-plugins commit. Could you please clean that up, so that it is only the config change?

forgondolin commented 4 years ago

sure

pschoffer commented 4 years ago

Hi @forgondolin , I played with this a bit. I guess it is harder to debug this locally. You could use circleci cli if you would like. Anyway this is a sort solution that works. Dont want' to take away your PR so if you would just update it with that. I am happy to merge:)

version: 2.0

workflows:
  version: 2
  main:
    jobs:
      - build

jobs:
  build:
    docker:
      - image: docker:17.05.0-ce-git
    steps:
      - checkout
      - setup_remote_docker
      - run:
          name: "Build Docker Image"
          command: docker build  .
forgondolin commented 4 years ago

hmm, thats weird, im running that in a docker container... well, I'll fix it. sorry for the bad code

pschoffer commented 4 years ago

Perfect thanks mate!