Skip to content

Update 2023-10-01-hackathon.md #124

Update 2023-10-01-hackathon.md

Update 2023-10-01-hackathon.md #124

Workflow file for this run

# Deploys a preview of the page to firebase and posts a link to the PR
name: Jekyll Preview Site
on:
pull_request:
branches: [ main ]
jobs:
jekyll_preview:
name: Build and deploy Jekyll site
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2
- name: Build 🏗️
uses: jerryjvl/jekyll-build-action@v1
- run: sudo chown -R $USER:$USER .
- run: |
echo "{ \"hosting\": { \"public\": \".\", \"cleanUrls\": true, \"trailingSlash\": false }}" > _site/firebase.json
- uses: FirebaseExtended/action-hosting-deploy@v0
name: Deploy 🚀 to Firebase Pages
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.CEVI_TOOLS_FIREBASE_PREVIEW_TOKEN}}'
channelId: dev
entryPoint: _site
projectId: cevi-tools-preview-deployment
env:
FIREBASE_CLI_PREVIEWS: hostingchannels