File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -48,11 +48,12 @@ jobs:
4848 run : yarn install
4949 - name : 🔨 Build
5050 run : yarn run build
51- - name : 📂 Sync files
52- uses : SamKirkland/FTP-Deploy-Action@v4.3.4
51+ - name : 📂 Deploy to GitHub Pages
52+ uses : peaceiris/actions-gh-pages@v4
53+ if : github.ref == 'refs/heads/main'
5354 with :
54- server : ftp.openpype.io
55- username : ${{ secrets.ftp_user }}
56- password : ${{ secrets.ftp_password }}
57- protocol : ftps
58- local-dir : ./website/build/
55+ deploy_key : ${{ secrets.DOCS_DEPLOY_KEY }}
56+ publish_dir : ./website/build
57+ external_repository : ynput/ynput.github.io
58+ publish_branch : main
59+ cname : docs.ayon.dev
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ const config = {
1414 title : "AYON Docs" ,
1515 tagline :
1616 "Documentation for the most robust open-source pipeline for studios and remote teams" ,
17- url : "https://docs. ynput.io" , // Your website URL
17+ url : "https://ynput.github .io" , // Your website URL
1818 baseUrl : "/" ,
1919 onBrokenLinks : "warn" ,
2020 onBrokenMarkdownLinks : "warn" ,
You can’t perform that action at this time.
0 commit comments