Merge pull request #13 from team-xquare/refactoring #97
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
on: | |
push: | |
branches: | |
- main | |
paths: | |
- "packages/user/**" | |
jobs: | |
build: | |
permissions: | |
id-token: write | |
contents: read | |
name: Build | |
runs-on: ubuntu-latest | |
env: | |
SERVICE_NAME: user | |
steps: | |
- name: Check Out The Repository | |
uses: actions/checkout@v3 | |
- name: Deploy to xquare | |
uses: team-xquare/xquare-deployment-action@master | |
with: | |
environment: prod | |
access_key: ${{ secrets.USER_ACCESS_KEY }} | |
github_token: ${{ secrets.GHP_TOKEN }} | |
base_url: packages/${{ env.SERVICE_NAME }} | |
config_file_path: packages/${{ env.SERVICE_NAME }}/.xquare/config.yaml | |
yarn_docker_build: true | |
yarn_workspace: "@merge/${{ env.SERVICE_NAME }}" |