Skip to content

Commit

Permalink
Create deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
ourai authored Apr 16, 2024
1 parent 3b9920c commit cba1db4
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/deploy
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Deploy project docs

on:
push:
branches:
- main
paths:
- docs/**
workflow_dispatch:

jobs:
deploy-docs-to-community:
runs-on: ubuntu-latest
env:
NOP_SITE_PRIVATE_KEY: ${{ secrets.GITEE_PRIVATE_KEY }}
steps:
- name: Create temp dirs
run: mkdir project-docs nop-site
- name: Copy SSH key
run: |
ls -al ~/.ssh
touch ~/.ssh/id_rsa_nop
echo $NOP_SITE_PRIVATE_KEY > ~/.ssh/id_rsa_nop
cat ~/.ssh/id_rsa_nop

0 comments on commit cba1db4

Please sign in to comment.