switch network button in mint post #39
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 Commit | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
timeout-minutes: 20 | |
env: # Environment variables from either organization or repository settings page (for GitHub Actions). | |
TENOR_KEY: ${{ secrets.TENOR_KEY }} | |
SPHERON_BUCKET_NAME: ${{ secrets.SPHERON_BUCKET_NAME }} | |
SPHERON_STORAGE_TOKEN: ${{ secrets.SPHERON_STORAGE_TOKEN }} | |
IMAGEKIT_ENDPOINT: ${{ secrets.IMAGEKIT_ENDPOINT }} | |
IMAGEKIT_PUBLIC_KEY: ${{ secrets.IMAGEKIT_PUBLIC_KEY }} | |
IMAGEKIT_PRIVATE_KEY: ${{ secrets.IMAGEKIT_PRIVATE_KEY }} | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/[email protected] | |
- name: Install and Build 🔧 # This example project is built using npm and outputs the result to the 'build' folder. | |
run: | | |
npm install | |
npm run generate | |
- name: Deploy 🚀 | |
uses: JamesIves/[email protected] | |
with: | |
branch: build # The branch the action should deploy to. | |
folder: dist # The folder the action should deploy. |