fix(user): only allow claiming own temporary account #249
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: "Deployment Website" | |
| on: | |
| push: | |
| branches: | |
| - master | |
| paths: | |
| - "website/**" | |
| workflow_dispatch: | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node-version: [18.x] | |
| defaults: | |
| run: | |
| working-directory: website | |
| steps: | |
| - uses: actions/checkout@v1 | |
| # - name: Use Node.js ${{ matrix.node-version }} | |
| # uses: actions/setup-node@v1 | |
| # with: | |
| # node-version: ${{ matrix.node-version }} | |
| # - name: Cache pnpm modules | |
| # uses: actions/cache@v4 | |
| # with: | |
| # path: ~/.pnpm-store | |
| # key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }} | |
| # restore-keys: | | |
| # ${{ runner.os }}- | |
| # - uses: pnpm/action-setup@v2.0.1 | |
| # with: | |
| # version: 7.1.9 | |
| # run_install: true | |
| # - name: Install Packages | |
| # run: pnpm install | |
| # - name: Build page | |
| # run: pnpm build | |
| # - name: Deploy to gh-pages | |
| # uses: peaceiris/actions-gh-pages@v3 | |
| # with: | |
| # github_token: ${{ secrets.GITHUB_TOKEN }} | |
| # publish_dir: ./website/build | |
| - name: Deploy to Vercel | |
| uses: amondnet/vercel-action@master | |
| env: | |
| VERSION: ${{ env.GITHUB_SHA }} | |
| with: | |
| vercel-token: ${{ secrets.VERCEL_TOKEN }} | |
| vercel-org-id: ${{ secrets.ORG_ID}} | |
| vercel-project-id: prj_mqIp5rfpiL3xObjBj5zMyI1y3x9r | |
| working-directory: ./ | |
| vercel-args: '--prod' |