feat(web): react-typed-i18n页面国际化 #2528
Workflow file for this run
This file contains 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: Update side projects | |
on: | |
push: | |
tags: ["**"] | |
branches: [master] | |
pull_request: | |
branches: [master] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
scow-vagrant: | |
name: Update scow-vagrant | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Create version file for tag commit | |
if: github.ref_type == 'tag' | |
uses: finnp/create-file-action@master | |
env: | |
FILE_NAME: "./deploy/vagrant/VERSION" | |
FILE_DATA: "${{ github.ref_name }}" | |
- name: Pushes to scow-vagrant repo | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
token: ${{ secrets.SCOW_DEPLOYMENT_PAT }} | |
folder: ./deploy/vagrant | |
repository-name: PKUHPC/scow-vagrant | |
branch: ${{ github.ref_type == 'branch' && github.ref_name || 'master' }} |