Added Chinese translation of amsldoc #188
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 | |
| on: | |
| push: | |
| branches: | |
| permissions: | |
| contents: read | |
| pages: write | |
| id-token: write | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| - name: Setup Ruby | |
| uses: ruby/setup-ruby@d5126b9b3579e429dd52e51e68624dda2e05be25 | |
| with: | |
| ruby-version: '3.3' | |
| bundler-cache: true | |
| - name: Setup Pages | |
| uses: actions/configure-pages@v5 | |
| - name: Jekyll Build | |
| run: bundle exec jekyll build | |
| env: | |
| JEKYLL_ENV: production | |
| - name: Upload artifact | |
| uses: actions/upload-pages-artifact@v4 | |
| deploy-gh: | |
| runs-on: ubuntu-latest | |
| needs: build | |
| if: github.ref == 'refs/heads/main' | |
| steps: | |
| - name: Deploy to GitHub Pages | |
| uses: actions/deploy-pages@v4 | |
| - name: Download artifact | |
| uses: actions/download-artifact@v6 | |
| with: | |
| name: github-pages | |
| - name: Deploy to Pages | |
| id: deployment | |
| uses: zauguin/custom-pages@trunk | |
| with: | |
| server: https://deploy.latex-project.org | |
| environment: | |
| name: github-pages | |
| url: ${{ steps.deployment.outputs.page_url }} | |
| deploy-live: | |
| runs-on: ubuntu-latest | |
| needs: build | |
| if: github.ref == 'refs/heads/live' | |
| steps: | |
| - name: Download artifact | |
| uses: actions/download-artifact@v6 | |
| with: | |
| name: github-pages | |
| - name: Deploy to Pages | |
| id: deployment | |
| uses: zauguin/custom-pages@trunk | |
| with: | |
| server: https://deploy.latex-project.org | |
| environment: | |
| name: deploy-live | |
| url: ${{ steps.deployment.outputs.page_url }} |