Skip to content

Commit

Permalink
Update MagicEyes.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ziyangfu committed Mar 15, 2024
1 parent e80b93c commit 833a393
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/MagicEyes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,19 @@ on:
permissions:
contents: write

env:
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}

jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Setup SSH
uses: actions/setup-ssh@v2
uses: actions/setup-ssh@v1
with:
ssh-private-key: ${{ env.SSH_PRIVATE_KEY }}
ssh-private-key: ${{ secrets.CICD_PRIVATE_KEY }}
SSH-agent: ssh-agent
- name: Start SSH agent
run: |
eval $(ssh-agent -s)
ssh-add <(echo "$SSH_PRIVATE_KEY")
- name: Checkout code
uses: actions/checkout@v2
Expand Down

0 comments on commit 833a393

Please sign in to comment.