Skip to content

Move website code to root directory. #5

Move website code to root directory.

Move website code to root directory. #5

name: Deploy main site
on:
[]
# push:
# branches:
# - main
# paths:
# - website/**
# # - .github/workflows/firebase-hosting-pull-request.yml
jobs:
build_and_deploy_lp:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
cache: "npm"
cache-dependency-path: website/package-lock.json
- run: cd website && npm install
- run: cd website && npm run build
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: ${{ secrets.GITHUB_TOKEN }}
firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_LOST_PIXELS_PROD }}
projectId: lost-pixels-prod
target: mainsite
channelId: live