This commit is contained in:
parent
1107bf1e6d
commit
ccca57eed4
25
.gitea/workflows/demo.yaml
Normal file
25
.gitea/workflows/demo.yaml
Normal file
@ -0,0 +1,25 @@
|
||||
name: Deploy demo
|
||||
run-name: ${{ gitea.actor }}
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
Deploy:
|
||||
runs-on: dagger
|
||||
steps:
|
||||
- name: Clone Devops Repo
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
ref: main
|
||||
repository: junior.bonilla/example_app
|
||||
token: ${{ secrets.PIPELINEDEPLOY }}
|
||||
path: devops
|
||||
- name: Clone Code Repo
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
repository: junior.bonilla/example_app
|
||||
token: ${{ secrets.PIPELINEDEPLOY }}
|
||||
path: code
|
||||
- name: Exec Pipeline
|
||||
working-directory: ./devops
|
||||
run: go run demo.go
|
||||
Loading…
Reference in New Issue
Block a user