From ed732ffb442d01d28de625f9aec11614ad230517 Mon Sep 17 00:00:00 2001 From: nikodem Date: Fri, 8 Dec 2023 09:25:53 +0000 Subject: [PATCH] github workflows test --- .github/workflows/cheatsheet.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/cheatsheet.yml diff --git a/.github/workflows/cheatsheet.yml b/.github/workflows/cheatsheet.yml new file mode 100644 index 0000000..757d537 --- /dev/null +++ b/.github/workflows/cheatsheet.yml @@ -0,0 +1,25 @@ +name: cheatsheet + +on: [push, pull_request, workflow_dispatch] + +jobs: + cheatsheet: + runs-on: ubuntu-latest + + steps: + - name: Checkout Repository + uses: actions/checkout@v2 + + - name: Build Docker Image + run: | + docker compose build + docker compose up + + - name: Copy Generated File + run: cp -r ../../cheatsheets /github/workspace/ + + - name: Upload Artifact + uses: actions/upload-artifact@v2 + with: + name: cheatsheets + path: cheatsheets