From d122437de170ba3eff626efe3e43448ceaeebe94 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Sun, 11 Aug 2024 18:34:04 -0400 Subject: [PATCH] add deploy workflow --- .forgejo/workflows/deploy.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .forgejo/workflows/deploy.yaml diff --git a/.forgejo/workflows/deploy.yaml b/.forgejo/workflows/deploy.yaml new file mode 100644 index 0000000..0c8fc44 --- /dev/null +++ b/.forgejo/workflows/deploy.yaml @@ -0,0 +1,18 @@ +name: "Deploy on Comment" + +on: + issue_comment: + types: [created] + +jobs: + deploy: + runs-on: ubuntu-latest + if: github.event.issue.pull_request && contains(github.event.comment.body, '/deploy') + steps: + - uses: actions/download-artifact@v4 + with: + name: packages + - name: Deploy + run: | + echo "Deploying..." + ls -R