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 "🍏 This job's status is ${{ job.status }}."
- run: docker version
# - name: Set up SSH
# run: |
# mkdir -p ~/.ssh
# echo "${{ secrets.GITEA1_SSH_KEY }}" > ~/.ssh/id_rsa
# chmod 600 ~/.ssh/id_rsa
# ssh-keyscan -H 106.14.174.241 >> ~/.ssh/known_hosts
# - name: Check out repository code
# env:
# GITEA_TOKEN: ${{ secrets.GITEA1_TOKEN }}
# run: git clone root@106.14.174.241:3000/root/simple-go-action.git .
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up SSH
run: |
mkdir -p ~/.ssh
echo "${{ secrets.GITEA1_SSH_KEY }}" > ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa
ssh-keyscan -H 106.14.174.241 >> ~/.ssh/known_hosts
- name: Check out repository code
env:
GITEA_TOKEN: ${{ secrets.GITEA1_TOKEN }}
run: git clone root@106.14.174.241:3000/root/simple-go-action.git .