File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : TMP Deploy Test
2+
3+ # Temporary: mirrors the Web dev.yaml chain (action build -> peaceiris deploy to an
4+ # orphan branch) in this observable repo to validate the full pipeline. Delete after.
5+ on :
6+ workflow_dispatch :
7+ push :
8+ branches : [main]
9+ paths :
10+ - " .github/workflows/_tmp-deploy-test.yml"
11+
12+ permissions :
13+ contents : write
14+
15+ jobs :
16+ tmp-deploy :
17+ runs-on : ubuntu-latest
18+ steps :
19+ - name : Checkout
20+ uses : actions/checkout@v4
21+ with :
22+ fetch-depth : 0
23+
24+ - name : Build via Netdocs action
25+ uses : ./
26+ with :
27+ command : build
28+ config : docs-site/appsettings.json
29+
30+ - name : Deploy to throwaway branch
31+ uses : peaceiris/actions-gh-pages@v4
32+ with :
33+ github_token : ${{ secrets.GITHUB_TOKEN }}
34+ publish_dir : ./docs-site/site
35+ publish_branch : _selftest-pages
36+ force_orphan : true
You can’t perform that action at this time.
0 commit comments