diff --git a/.github/workflows/continuous-delivery-workflow.yml b/.github/workflows/continuous-delivery-workflow.yml new file mode 100644 index 00000000..bc11942b --- /dev/null +++ b/.github/workflows/continuous-delivery-workflow.yml @@ -0,0 +1,13 @@ +name: Gotenberg continuous delivery +on: push +push: + branches: + - releases/* + +jobs: + publish: + name: Publish + runs-on: ubuntu-18.04 + steps: + - uses: actions/checkout@v1 + run: make publish VERSION=$GITHUB_REF DOCKER_USER=${{ secrets.DOCKER_USER }} DOCKER_PASSWORD=${{ secrets.DOCKER_PASSWORD }} \ No newline at end of file diff --git a/.github/workflows/continuous-integration-workflow.yml b/.github/workflows/continuous-integration-workflow.yml new file mode 100644 index 00000000..898b4188 --- /dev/null +++ b/.github/workflows/continuous-integration-workflow.yml @@ -0,0 +1,11 @@ +name: Gotenberg continuous integration +on: [push, pull_request] + +jobs: + tests: + name: Tests + runs-on: ubuntu-18.04 + steps: + - uses: actions/checkout@v1 + - run: make lint + - run: make tests \ No newline at end of file