更新 .gitea/workflows/流水线上下文详情.yml
This commit is contained in:
parent
df6634a99e
commit
dab6dd05b6
|
@ -57,22 +57,12 @@ jobs:
|
|||
job3:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- id: step1
|
||||
run: echo "job===========${{ github.job }}"
|
||||
- id: step5
|
||||
name: "日志接口地址run_number"
|
||||
run: echo "3======${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_number }}/jobs/0"
|
||||
- name: Dump jobs context
|
||||
env:
|
||||
JOBS_CONTEXT: ${{ toJson(jobs) }}
|
||||
run: echo "$JOBS_CONTEXT"
|
||||
- id: step6
|
||||
run: |
|
||||
ls /var/run/act/workflow/
|
||||
echo "log setp5...................."
|
||||
cat /var/run/act/workflow/step5
|
||||
echo "log setp4...................."
|
||||
cat /var/run/act/workflow/envs.txt
|
||||
echo "log setp6...................."
|
||||
cat /var/run/act/workflow/SUMMARY.md
|
||||
- name: executing remote ssh commands using password
|
||||
uses: appleboy/ssh-action@v1.0.3
|
||||
with:
|
||||
host: ${{ secrets.HOST }}
|
||||
username: ${{ secrets.USERNAME }}
|
||||
password: ${{ secrets.PASSWORD }}
|
||||
port: ${{ secrets.PORT }}
|
||||
script: whoami
|
||||
|
||||
|
|
Loading…
Reference in New Issue