-
-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathdeploy-inversify-framework-pages.yaml
More file actions
34 lines (28 loc) · 996 Bytes
/
deploy-inversify-framework-pages.yaml
File metadata and controls
34 lines (28 loc) · 996 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Deploy Inversify framework docs to GitHub Pages
on:
workflow_dispatch:
permissions:
contents: write
jobs:
deploy:
name: Deploy Inversify framework docusaurus site.
environment: CI
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
- uses: ./.github/actions/setup
- name: Compile source files
run: pnpm run build --filter @inversifyjs/framework-docs-site
- uses: webfactory/ssh-agent@e83874834305fe9a4a2997156cb26c5de65a8555 # v0.10.0
with:
ssh-private-key: ${{ secrets.INVERSIFY_FRAMEWORK_DOC_PAGES_DEPLOYMENT_PRIVATE_KEY }}
- name: Deploy to GitHub Pages
env:
USE_SSH: true
run: |
git config --global user.email "inversify.github.io.framework.deploy@github.com"
git config --global user.name "gh-actions"
pnpm deploy:framework:pages