Skip to content

woshibiantai is deploying the app #45

woshibiantai is deploying the app

woshibiantai is deploying the app #45

Workflow file for this run

name: Deploy App
run-name: ${{ github.actor }} is deploying the app
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '18'
- run: npm install
- run: npm run build
env:
VITE_GOOGLE_API_KEY: ${{ secrets.VITE_GOOGLE_API_KEY }}
- name: Upload artifact
uses: actions/[email protected]
with:
name: 'github-pages'
path: 'dist'
deploy:
needs: build
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.url }}
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/[email protected]