Skip to content

feat(themes): add cobalt spark (#126) #156

feat(themes): add cobalt spark (#126)

feat(themes): add cobalt spark (#126) #156

Workflow file for this run

name: Publish
on:
push:
branches: [main]
workflow_dispatch: {}
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
permissions:
contents: read
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Harden the runner (Audit all outbound calls)
uses: step-security/harden-runner@b09bb98e06d4d774595224525879c09bc6e98c40 # v2.20.1
with:
egress-policy: audit
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
ref: main
fetch-depth: 0
- name: Set up .wiki remote
run: git remote add dot-wiki git@github.com:ohmyzsh/ohmyzsh.wiki.git
- name: Set up deploy keys to push to remote
env:
WIKI_DEPLOY_PRIVATE_KEY: ${{ secrets.WIKI_DEPLOY_PRIVATE_KEY }}
run: |
# Write deploy key to ~/.ssh/id_ed25519. Git will automatically
# use ~/.ssh/id_ed25519 to log in to github.com (see `man ssh`)
mkdir -p ~/.ssh
echo "${WIKI_DEPLOY_PRIVATE_KEY}" > ~/.ssh/id_ed25519
chmod 600 ~/.ssh/id_ed25519
- name: Push commits to main wiki remote
run: git push --force dot-wiki HEAD:master