We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 291c5c4 commit ce04a40Copy full SHA for ce04a40
.github/workflows/publish.yml
@@ -23,11 +23,13 @@ jobs:
23
- name: Set up .wiki remote
24
run: git remote add dot-wiki [email protected]:ohmyzsh/ohmyzsh.wiki.git
25
- name: Set up deploy keys to push to remote
26
+ env:
27
+ WIKI_DEPLOY_PRIVATE_KEY: ${{ secrets.WIKI_DEPLOY_PRIVATE_KEY }}
28
run: |
29
# Write deploy key to ~/.ssh/id_ed25519. Git will automatically
30
# use ~/.ssh/id_ed25519 to log in to github.com (see `man ssh`)
31
mkdir -p ~/.ssh
- echo "${{ secrets.WIKI_DEPLOY_PRIVATE_KEY }}" > ~/.ssh/id_ed25519
32
+ echo "${WIKI_DEPLOY_PRIVATE_KEY}" > ~/.ssh/id_ed25519
33
chmod 600 ~/.ssh/id_ed25519
34
- name: Push commits to main wiki remote
35
run: git push --force dot-wiki HEAD:master
0 commit comments