Skip to content

v1.22.15

v1.22.15 #122

Workflow file for this run

name: Release
on:
release:
types: [released]
jobs:
release:
name: Release
runs-on: ubuntu-latest
permissions:
contents: read # This is required for actions/checkout
id-token: write # This is required for requesting the JWT
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: lts/*
cache: yarn
- name: Deploy prod
if: ${{ github.repository == 'swan-io/swan-partner-frontend' }}
run: yarn deploy-ci
env:
TAG: prod-${{ github.ref_name }}
DEPLOY_SWAN_TOKEN: ${{ secrets.DEPLOY_SWAN_TOKEN }}
DEPLOY_SWAN_REPOSITORY: ${{ secrets.DEPLOY_SWAN_REPOSITORY }}
DEPLOY_GIT_USER: ${{ secrets.DEPLOY_GIT_USER }}
DEPLOY_GIT_EMAIL: ${{ secrets.DEPLOY_GIT_EMAIL }}
DEPLOY_ENVIRONMENT: prod
DEPLOY_APP_NAME: partner-frontend