ci: deploy yaml test
This commit is contained in:
parent
9a81361936
commit
2ec3c80fe8
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: package
|
||||||
|
- name: Deploy
|
||||||
|
run: |
|
||||||
|
echo "Deploying..."
|
||||||
|
ls -R
|
Loading…
Reference in a new issue