Add more gigs #640
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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_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 }} | |
APP_UNDERSHOWS_IG: ${{ vars.APP_UNDERSHOWS_IG }} | |
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/github-pages-deploy-action@v4.2.5 | |
with: | |
branch: gh-pages # The branch the action should deploy to. | |
folder: dist # The folder the action should deploy. |