25 lines
637 B
YAML
25 lines
637 B
YAML
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 |