Adds actions workflow for pull-requests
This commit is contained in:
parent
2ec7600fa4
commit
c25188611e
1 changed files with 22 additions and 0 deletions
22
.forgejo/workflows/deployment-pull-request.yaml
Normal file
22
.forgejo/workflows/deployment-pull-request.yaml
Normal file
|
@ -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/
|
Loading…
Reference in a new issue