From c25188611e456e214502df8f1d4fa2acf2e2f1e5 Mon Sep 17 00:00:00 2001 From: snoopy Date: Tue, 30 Apr 2024 20:18:37 +0200 Subject: [PATCH] Adds actions workflow for pull-requests --- .../workflows/deployment-pull-request.yaml | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .forgejo/workflows/deployment-pull-request.yaml diff --git a/.forgejo/workflows/deployment-pull-request.yaml b/.forgejo/workflows/deployment-pull-request.yaml new file mode 100644 index 0000000..bef68b9 --- /dev/null +++ b/.forgejo/workflows/deployment-pull-request.yaml @@ -0,0 +1,22 @@ +name: deployment-on-pull-request +on: + pull_request: + pull_request_target: + types: + - opened + - reopened + - synchronize + +jobs: + deployment: + runs-on: docker + container: + image: node:bookworm + steps: + - uses: actions/checkout@v4 + - name: Build inventory + uses: https://codeberg.org/umglurf/kaniko-action@main + with: + cache: false + push: 'false' + context: /workspace/snoopy/in-c4/