Skip to content

Merge branch 'undershows:main' into main #3

Merge branch 'undershows:main' into main

Merge branch 'undershows:main' into main #3

Workflow file for this run

name: Build and Deploy
on:
# Trigger the workflow every time you push to the branches you defined.
push:
branches:
- main
# Allows you to run this workflow manually from the Actions tab on GitHub.
workflow_dispatch:
env:
APP_MAIN_STATE: ${{ vars.APP_MAIN_STATE }}
APP_GITHUB_URL: ${{ vars.APP_GITHUB_URL }}
APP_BANNER_URL: ${{ vars.APP_BANNER_URL }}
APP_POSTER_MAIL: ${{ vars.APP_POSTER_MAIL }}
APP_OLD_SITE_URL: ${{ vars.APP_OLD_SITE_URL }}
APP_OLD_SITE_TITLE: ${{ vars.APP_OLD_SITE_TITLE }}
APP_OLD_SITE_DESCRIPTION: ${{ vars.APP_OLD_SITE_DESCRIPTION }}
APP_GA_MEASUREMENT_ID: ${{ vars.APP_GA_MEASUREMENT_ID }}
jobs:
build-and-deploy:
concurrency: ci-${{ github.ref }} # Recommended if you intend to make multiple deployments in quick succession.
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
- name: Install and Build 🔧
run: |
npm install
npm run build
- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
branch: gh-pages # The branch the action should deploy to.
folder: dist # The folder the action should deploy.