dind/.gitea/workflows/cicd.yaml

34 lines
539 B
YAML

name: cicd
on:
push:
branches:
- main
schedule:
- cron: '2 2 * * 0'
jobs:
pull:
name: pull
runs-on: dind
steps:
- name: pull
run: |
docker pull registry-app.inhome.blapointe.com:5001/docker:latest
shell: sh
cicd:
name: cicd
runs-on: dind
steps:
- name: checkout
uses: actions/checkout@v3
- name: cicd
run: |
pwd
ls
find . -type d
ps aux www
which git
if ! sh ./build.sh; then
exit 1
fi