File tree Expand file tree Collapse file tree 1 file changed +23
-1
lines changed Expand file tree Collapse file tree 1 file changed +23
-1
lines changed Original file line number Diff line number Diff line change 9090 - gendocs-c
9191 - gendocs-android
9292 - gendocs-ios
93+ outputs :
94+ artifact_id : ${{ steps.upload_artifact.outputs.artifact_id }}
9395
9496 steps :
9597 - name : Checkout
@@ -128,7 +130,27 @@ jobs:
128130 DOCS_URL : /tmp/docs/
129131
130132 - name : Upload artifact
131- uses : actions/upload-artifact@v4
133+ id : upload_artifact
134+ uses : actions/upload-pages-artifact@v3
132135 with :
133136 name : site-build
134137 path : __public__
138+
139+ deploy :
140+ runs-on : ubuntu-24.04
141+ if : github.ref_name == 'main'
142+ needs :
143+ - build
144+ permissions :
145+ pages : write
146+ id-token : write
147+ environment :
148+ name : github-pages
149+ url : ${{ steps.deploy.outputs.page_url }}
150+
151+ steps :
152+ - name : Deploy to GitHub Pages
153+ id : deploy
154+ uses : actions/deploy-pages@v4
155+ with :
156+ artifact_name : ${{ needs.build.outputs.artifact_id }}
You can’t perform that action at this time.
0 commit comments