fix: point to correct javadoc for lookAt jd in teleport (#577) #157
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Deploy to Cloudflare Pages (Production)" | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
deploy: | |
runs-on: "ubuntu-latest" | |
permissions: | |
contents: read | |
deployments: write | |
pull-requests: write | |
steps: | |
- name: "checkout" | |
uses: "actions/checkout@v4" | |
with: | |
fetch-depth: 0 | |
- name: "setup pnpm" | |
uses: "pnpm/action-setup@v4" | |
- name: "setup node" | |
uses: "actions/setup-node@v4" | |
with: | |
cache: "pnpm" | |
node-version: 20 | |
- name: "setup d2" | |
run: "curl -fsSL https://d2lang.com/install.sh | sh -s --" | |
- name: "install dependencies" | |
run: "pnpm install" | |
- name: "build" | |
run: "pnpm build" | |
- name: "copy cloudflare configuration files to build directory" | |
run: | | |
cp _headers dist/ | |
cp _redirects dist/ | |
- name: "publish (push)" | |
id: "cloudflare-publish" | |
uses: "AdrianGonz97/refined-cf-pages-action@v1" | |
with: | |
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} | |
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} | |
projectName: "papermc-docs" | |
deploymentName: "Production" | |
directory: "dist" | |
githubToken: ${{ secrets.GITHUB_TOKEN }} |