Skip to content

Commit

Permalink
Merge remote-tracking branch 'remotes/origin/master' into major/stron…
Browse files Browse the repository at this point in the history
…g-typing
  • Loading branch information
SorsOps committed Jun 18, 2024
2 parents bd0527e + 199ba25 commit 3e0640c
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 201 deletions.
98 changes: 0 additions & 98 deletions .github/workflows/deploy-docs.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/docker-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Publish to Dockerhub

on:
push:
branches: [ major/strong-typing ]
branches: [ master ]

jobs:
build:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Publish docker image
name: Gimlet

on:
push:
branches: [ major/strong-typing ]
branches: [ master ]

jobs:
build:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Release
name: NPM Release

on:
push:
Expand Down Expand Up @@ -66,52 +66,4 @@ jobs:
SLACK_MESSAGE: 'New version of the graph-engine has been release'
SLACK_TITLE: "@tokens-studio/graph-engine"
SLACK_USERNAME: "Studio Bot"
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
release-ui:
# Prevents changesets action from creating a PR on forks
if: github.repository == 'tokens-studio/graph-engine'
environment:
name: dev
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4

- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: 16
cache: "yarn"

- name: Install dependencies
run: yarn --frozen-lockfile --prefer-offline

- name: Build site
run: yarn run build:ui
env:
NEXT_PUBLIC_GITHUB_SHA: $GITHUB_SHA

- name: Import Secrets
id: secrets
uses: hashicorp/vault-action@v2
with:
url: ${{ vars.VAULT_URL }}
role: ${{ vars.VAULT_DEPLOY_ROLE }}
method: jwt
namespace: admin
secrets: |
aws/dev/creds/${{ vars.DEV_SITE_DEPLOY_ROLE }} access_key | AWS_ACCESS_KEY_ID ;
aws/dev/creds/${{ vars.DEV_SITE_DEPLOY_ROLE }} secret_key | AWS_SECRET_ACCESS_KEY ;
aws/dev/creds/${{ vars.DEV_SITE_DEPLOY_ROLE }} security_token | AWS_SESSION_TOKEN;
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ steps.secrets.outputs.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ steps.secrets.outputs.AWS_SECRET_ACCESS_KEY }}
aws-session-token: ${{ steps.secrets.outputs.AWS_SESSION_TOKEN }}
aws-region: us-east-1
- name: Copy files to the production website with the AWS CLI
run: |
aws s3 sync ./packages/ui/out ${{ vars.DEV_SITE_BUCKET_NAME }}
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
50 changes: 0 additions & 50 deletions .github/workflows/pages.yml

This file was deleted.

File renamed without changes.

0 comments on commit 3e0640c

Please sign in to comment.