Skip to content
This repository has been archived by the owner on Aug 27, 2024. It is now read-only.

Commit

Permalink
Fix runner.temp issue
Browse files Browse the repository at this point in the history
  • Loading branch information
anli5005 committed Dec 28, 2023
1 parent 5119a11 commit 5449ee1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/nextjs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,6 @@ jobs:
oauth-secret: ${{ secrets.TS_OAUTH_SECRET }}
tags: tag:cis1951
- name: Copy SSH key
run: echo "${{ secrets.SSH_KEY }}" > {{ runner.temp }}/id_cis1951
run: echo "${{ secrets.SSH_KEY }}" > ${{ runner.temp }}/id_cis1951
- name: Upload files
run: rsync -av --delete -e "ssh -i {{ runner.temp }}/id_cis1951" out/ [email protected]:public_html
run: rsync -av --delete -e "ssh -i ${{ runner.temp }}/id_cis1951" out/ [email protected]:public_html

0 comments on commit 5449ee1

Please sign in to comment.