steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
-
- - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
- - run: npm install
- working-directory: docs-site
-
- name: Download artifacts
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
with:
- uses: cloudflare/wrangler-action@da0e0dfe58b7a431659754fdf3f186c529afbe65 # v3.14.1
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
- workingDirectory: docs-site
command: >
- deploy
- --var GIT_COMMIT_SHA:${{ github.sha }}
- --var GIT_BRANCH:main
+ pages deploy ./site
+ --project-name starlette
+ --commit-hash ${{ github.sha }}
+ --branch main