test17
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 3s Details

This commit is contained in:
dm 2024-08-13 09:39:38 +08:00
parent c245bc0faa
commit f23e219240
1 changed files with 10 additions and 14 deletions

View File

@ -19,17 +19,13 @@ jobs:
- run: echo "🖥️ The workflow is now ready to test your code on the runner." - run: echo "🖥️ The workflow is now ready to test your code on the runner."
- run: echo "🍏 This job's status is ${{ job.status }}." - run: echo "🍏 This job's status is ${{ job.status }}."
- run: docker version - run: docker version
# - name: Set up SSH - name: Set up SSH
# run: | run: |
# mkdir -p ~/.ssh mkdir -p ~/.ssh
# echo "${{ secrets.GITEA1_SSH_KEY }}" > ~/.ssh/id_rsa echo "${{ secrets.GITEA1_SSH_KEY }}" > ~/.ssh/id_rsa
# chmod 600 ~/.ssh/id_rsa chmod 600 ~/.ssh/id_rsa
# ssh-keyscan -H 106.14.174.241 >> ~/.ssh/known_hosts ssh-keyscan -H 106.14.174.241 >> ~/.ssh/known_hosts
# - name: Check out repository code - name: Check out repository code
# env: env:
# GITEA_TOKEN: ${{ secrets.GITEA1_TOKEN }} GITEA_TOKEN: ${{ secrets.GITEA1_TOKEN }}
# run: git clone root@106.14.174.241:3000/root/simple-go-action.git . run: git clone root@106.14.174.241:3000/root/simple-go-action.git .
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0