Skip to content

Commit

Permalink
Merge pull request #44 from ar-io/develop
Browse files Browse the repository at this point in the history
Deploy to Production
  • Loading branch information
kunstmusik authored Jul 11, 2024
2 parents 9179d0b + 639fc9b commit 9b470ee
Showing 1 changed file with 0 additions and 31 deletions.
31 changes: 0 additions & 31 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,34 +63,3 @@ jobs:
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: dist

deploy-to-arweave:
runs-on: ubuntu-latest
needs: build
environment: staging
if: ${{ github.ref == 'refs/heads/develop' }}
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
cache: 'yarn'

- name: Install, Build, and Deploy 🔧
run: |
yarn install --frozen-lockfile
yarn deploy
env:
# FOR BUILD
VITE_NODE_ENV: develop
VITE_SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
VITE_SENTRY_RELEASE: ${{ github.sha }}
VITE_SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
VITE_SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
VITE_SENTRY_DSN_PUBLIC_KEY: ${{ secrets.SENTRY_DSN_PUBLIC_KEY }}
VITE_SENTRY_DSN_PROJECT_URI: ${{ secrets.SENTRY_DSN_PROJECT_URI }}
VITE_SENTRY_DSN_PROJECT_ID: ${{ secrets.SENTRY_DSN_PROJECT_ID }}
VITE_GITHUB_HASH: ${{ github.sha }}
DEPLOY_ANT_PROCESS_ID: ${{ secrets.DEPLOY_ANT_PROCESS_ID }}
DEPLOY_KEY: ${{ secrets.DEPLOY_KEY }}

0 comments on commit 9b470ee

Please sign in to comment.