Skip to content

Commit

Permalink
stag, prod 분리
Browse files Browse the repository at this point in the history
stag, prod 분리
  • Loading branch information
heedda authored Apr 27, 2024
2 parents 28b2004 + ed4020f commit 2e18641
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/gitAction.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Deploy
on:
push:
branches:
- develop
- main

jobs:
build:
Expand Down
25 changes: 25 additions & 0 deletions .github/workflows/stagGitAction.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Deploy

on:
push:
branches:
- develop

jobs:
build:
permissions:
id-token: write
contents: read
runs-on: ubuntu-latest
steps:
- name: Checkout source code
uses: actions/checkout@v3

- name: Deploy to xquare
uses: team-xquare/xquare-deployment-action@master
with:
environment: stag
access_key: ${{ secrets.XQUAER_ACCESS_KEY }}
github_token: ${{ secrets.PICK_WEB_TEACHER }}
buildargs: |
BASE_URL=${{ secrets.STAG_BASE_URL }}
2 changes: 1 addition & 1 deletion .xquare/config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
config:
name: pick-web-teacher
name: pick-teacher
service_type: fe
port: 3000
domain:
Expand Down

0 comments on commit 2e18641

Please sign in to comment.