diff --git a/.gitea/workflows/build-image.yaml b/.gitea/workflows/build-image.yaml index c59925b..3c6adff 100644 --- a/.gitea/workflows/build-image.yaml +++ b/.gitea/workflows/build-image.yaml @@ -12,18 +12,14 @@ jobs: volumes: - /home/actions/.ssh:/root/.ssh steps: - - name: Check out repository code - uses: https://gitea.com/BoYanZh/checkout@focs - name: Set up Git run: | git config --global user.name "gitea-actions[bot]" git config --global user.email "gitea-actions[bot]@users.noreply.gitea.com" chown -R root:root /root/.ssh - - name: Clone target repository + - name: Clone, Commit and Push run: | git clone ssh://git@focs.ji.sjtu.edu.cn:2222/FOCS-dev/runner-images.git runner-images cd runner-images - - name: Commit and Push - run: | git commit --allow-empty -m "chore: trigger gitea actions by JOJ3" git push