From 6e41ee5fe52f7144d992a9dcb74de2247da51827 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Ram=C3=ADrez?= Date: Fri, 25 Nov 2022 13:42:38 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20Build=20to=20test=20on=20CI=20fo?= =?UTF-8?q?r=20PRs,=20update=20GitHub=20Actions=20(#37)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy.yml | 2 +- .github/workflows/test.yml | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 8f0036c..619ffd2 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -7,7 +7,7 @@ on: jobs: build: - runs-on: ubuntu-18.04 + runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Deploy Image diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..c36d44e --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,18 @@ +name: Deploy + +on: + push: + branches: + - master + pull_request: + types: [opened, synchronize] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Build Image + run: bash scripts/build.sh + env: + NAME: latest