add deploy workflow
This commit is contained in:
parent
533b9297f0
commit
d122437de1
1 changed files with 18 additions and 0 deletions
18
.forgejo/workflows/deploy.yaml
Normal file
18
.forgejo/workflows/deploy.yaml
Normal file
|
@ -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
|
Loading…
Reference in a new issue