Skip to content

Commit

Permalink
Add xquare deploy workflow and initial config
Browse files Browse the repository at this point in the history
  • Loading branch information
HyunSu1768 committed Aug 25, 2024
1 parent cca51b1 commit 66107da
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/xquare-deploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
on:
push:
branches:
- main
paths:
- '**'

jobs:
build:
permissions:
id-token: write
contents: read
name: Build
runs-on: ubuntu-latest
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.ACCESS_KEY }}
buildargs: |
AWS_ACCESS_KEY_ID=${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_REGION=${{ secrets.AWS_REGION }}
AWS_SECRET_ACCESS_KEY=${{ secrets.AWS_SECRET_ACCESS_KEY }}
S3_BUCKET=${{ secrets.S3_BUCKET }}
6 changes: 6 additions & 0 deletions .xquare/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
config:
name: turborepo-remote-cache
service_type: fe
port: 3000
domain:
prod: turborepo-remote-cache.xquare.app

0 comments on commit 66107da

Please sign in to comment.