-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add xquare deploy workflow and initial config
- Loading branch information
1 parent
cca51b1
commit 66107da
Showing
2 changed files
with
34 additions
and
0 deletions.
There are no files selected for viewing
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
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 }} |
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
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 |