ci(docs): workflow cleanup and on push for testing
# keep the workflow only for manual deployment because of Github monthly CI quota
-on: workflow_dispatch
+on:
+ push:
+ branches:
+ - docs-ci-workflow
+ workflow_dispatch:
name: Deploy docs
@@ -26,7 +30,6 @@ jobs:
rm -rf ./docs
mv target/doc ./docs
- name: Deploy gh-pages
- # if: github.ref == 'refs/heads/aip-61-adex-v5'
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
