diff --git a/.gitea/workflows/build_image_wafwoof.yml b/.gitea/workflows/build_image_wafwoof.yml index 2ce68cb..f1e4045 100644 --- a/.gitea/workflows/build_image_wafwoof.yml +++ b/.gitea/workflows/build_image_wafwoof.yml @@ -31,7 +31,7 @@ jobs: username: ${{ secrets.REGISTRY_DOCKER_USER }} password: ${{ secrets.REGISTRY_DOCKER_PASS }} - - name: git clone repo + - name: clone & build & push run: | git clone https://github.com/EnableSecurity/wafw00f cd wafw00f diff --git a/.gitea/workflows/demo.yaml b/.gitea/workflows/demo.yaml index 47e3390..fbcbc5d 100644 --- a/.gitea/workflows/demo.yaml +++ b/.gitea/workflows/demo.yaml @@ -1,6 +1,6 @@ name: Gitea Actions Demo run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀 -on: [never] +on: [push] ## Exemple https://github.com/actions/starter-workflows/blob/main/ci/docker-publish.yml @@ -19,3 +19,9 @@ jobs: run: | ls ${{ gitea.workspace }} - run: echo "🍏 This job's status is ${{ job.status }}." + + - name: Git clone private repository + uses: actions/checkout@v3 + with: + repository: staffadmin/wafw00f + token: ${{ secrets.REPO_PULL_GITEA }} \ No newline at end of file