Skip to content

add more special char to new pass regex #41

add more special char to new pass regex

add more special char to new pass regex #41

Workflow file for this run

# Sample workflow for building and deploying a VitePress site to GitHub Pages
#
name: Build and Deploy to Pages
on:
push:
tags:
- '*' # Push events to every tag not containing /
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: pages
cancel-in-progress: false
jobs:
# Build job
build:
runs-on: ubuntu-latest
env:
VITE_BASE_PATH: ${{ secrets.VITE_BASE_PATH }}
VITE_MAPBOX_PUBLIC_KEY: ${{ secrets.VITE_MAPBOX_PUBLIC_KEY }}
VITE_BACK_URL: ${{ secrets.VITE_BACK_URL }}
VITE_COGNITO_REDIRECT_URI: ${{ secrets.VITE_COGNITO_REDIRECT_URI }}
VITE_COGNITO_REDIRECT_URI_SIGNOUT: ${{ secrets.VITE_COGNITO_REDIRECT_URI_SIGNOUT }}
VITE_APP_URL: ${{ secrets.VITE_APP_URL }}
VITE_COGNITO_USERPOOL_ID: ${{ secrets.VITE_COGNITO_USERPOOL_ID }}
VITE_COGNITO_APP_DOMAIN: ${{ secrets.VITE_COGNITO_APP_DOMAIN }}
VITE_COGNITO_CLIENT_ID: ${{ secrets.VITE_COGNITO_CLIENT_ID }}
VITE_COGNITO_IDENTITY_POOL_ID: ${{ secrets.VITE_COGNITO_IDENTITY_POOL_ID }}
VITE_COGNITO_REGION: ${{ secrets.VITE_COGNITO_REGION }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 20
cache: yarn # or pnpm / yarn
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Install dependencies
run: yarn install # or pnpm install / yarn install / bun install
- name: Translation # build translation json.
run: |
yarn run i18n-compile
- name: Build #build app.
run: |
yarn run build
- name: create 404.html
run: |
cp dist/index.html dist/404.html
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
path: './dist'
# Deployment job
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
needs: build
runs-on: ubuntu-latest
name: Deploy
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2