ayaports/.forgejo/workflows/deploy.yaml

22 lines
445 B
YAML
Raw Normal View History

2024-08-11 22:38:28 +00:00
name: "Deploy on Comment"
on:
issue_comment:
types: [created]
jobs:
deploy:
2024-08-11 22:39:53 +00:00
runs-on: x86_64
container:
image: alpine:latest
2024-08-11 22:38:28 +00:00
if: github.event.issue.pull_request && contains(github.event.comment.body, '/deploy')
steps:
2024-08-11 22:40:54 +00:00
- run: apk add nodejs curl
2024-08-11 22:41:37 +00:00
- uses: forgejo/download-artifact@v4
2024-08-11 22:38:28 +00:00
with:
name: package
- name: Deploy
run: |
echo "Deploying..."
ls -R