Skip to content
This repository has been archived by the owner on Feb 5, 2024. It is now read-only.

chore(config): drop S3 #256

chore(config): drop S3

chore(config): drop S3 #256

Workflow file for this run

name: Build & Deploy
on:
push:
branches:
- master
jobs:
build-and-deploy:
if: "(!contains(github.event.commits[0].message, '[skip ci]')) && (!contains(github.event.commits[0].message, '[ci skip]'))"
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2
with:
persist-credentials: false
fetch-depth: "0"
- name: Install and Build 🔧
env:
ENV: "PRODUCTION"
run: |
sed -i "s/NULL_RELEASE/$GITHUB_SHA/" src/index.ts
npx pnpm install
npx pnpm run build
- name: Install SSH Client 🔑
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.DEPLOY_PRODUCTON_KEY }}
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
SSH: true
BRANCH: gh-pages
FOLDER: dist
SINGLE_COMMIT: true
CLEAN: true
- name: Announce release and deploy to Sentry
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
run: bash utils/sentry-commit.sh