From fc2e3586a23fa974fd9c4c5f7c82035d8fcea098 Mon Sep 17 00:00:00 2001 From: Julien Neuhart Date: Tue, 20 Aug 2019 12:56:53 +0200 Subject: [PATCH] renaming workflows (easier for badge) and removing travis --- ...uous-delivery-workflow.yml => publish.yml} | 2 +- ...uous-integration-workflow.yml => push.yml} | 4 ++-- .travis.yml | 23 ------------------- README.md | 2 +- 4 files changed, 4 insertions(+), 27 deletions(-) rename .github/workflows/{continuous-delivery-workflow.yml => publish.yml} (89%) rename .github/workflows/{continuous-integration-workflow.yml => push.yml} (81%) delete mode 100644 .travis.yml diff --git a/.github/workflows/continuous-delivery-workflow.yml b/.github/workflows/publish.yml similarity index 89% rename from .github/workflows/continuous-delivery-workflow.yml rename to .github/workflows/publish.yml index 3c86c302..507655af 100644 --- a/.github/workflows/continuous-delivery-workflow.yml +++ b/.github/workflows/publish.yml @@ -1,4 +1,4 @@ -name: Gotenberg continuous delivery +name: Publish on: push: branches: diff --git a/.github/workflows/continuous-integration-workflow.yml b/.github/workflows/push.yml similarity index 81% rename from .github/workflows/continuous-integration-workflow.yml rename to .github/workflows/push.yml index 2306e62f..90591c3a 100644 --- a/.github/workflows/continuous-integration-workflow.yml +++ b/.github/workflows/push.yml @@ -1,5 +1,5 @@ -name: Gotenberg continuous integration -on: [push, pull_request] +name: Push +on: push jobs: tests: diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index c832bdc7..00000000 --- a/.travis.yml +++ /dev/null @@ -1,23 +0,0 @@ -sudo: required - -language: generic - -services: - - docker - -env: - global: - - secure: d6pliM7iR7KJ3TQkr1C0tHi0HgU6Vdmc/ycw11XrXs794/dgj6g9UDrhgcvT2mTzOVIUNouHx7gyEWAlwJv7p8PPyguHJfIsyqMWfaXNPoytTx1ETUiygl1G/UsvXVdry6I5tZF/U+/PJ3hBXoAvo8EOFe0/MxxvP3ghCeeCpeEwEdoYP2jbADGffywVUNI7OEdmS29A28GusXXp2cWCIZYSq5Gn5iu1ZMPaJA6SkRTXpS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11xF42bFzniCvvbSOQ37J+EngDinVxJkNPeyivR4fye2ENhIAjAEjouTJLOSXL9nAOU= - -stages: - - tests - - publish - -jobs: - include: - - stage: tests - script: make lint tests - - stage: publish - if: tag IS present - script: make publish VERSION=$TRAVIS_TAG DOCKER_USER=$DOCKER_USER DOCKER_PASSWORD=$DOCKER_PASS \ No newline at end of file diff --git a/README.md b/README.md index efd6c62c..8d5bbd74 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ to learn how to interact with it! ## Badges [![Docker image layers](https://images.microbadger.com/badges/image/thecodingmachine/gotenberg:5.svg)](https://microbadger.com/images/thecodingmachine/gotenberg:5) -[![Travis CI](https://travis-ci.org/thecodingmachine/gotenberg.svg?branch=master)](https://travis-ci.org/thecodingmachine/gotenberg) +[![Actions Status](https://github.com/thecodingmachine/gotenberg/workflows/Push/badge.svg)](https://github.com/thecodingmachine/gotenberg/actions) [![GoDoc](https://godoc.org/github.com/thecodingmachine/gotenberg?status.svg)](https://godoc.org/github.com/thecodingmachine/gotenberg) [![Go Report Card](https://goreportcard.com/badge/github.com/thecodingmachine/gotenberg)](https://goreportcard.com/report/thecodingmachine/gotenberg)