Skip to content

Updated gitignore

Updated gitignore #27

Workflow file for this run

# File: .github/workflows/publish.yml
name: publish-to-github-pages
on:
push:
branches:
- main
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
- uses: ruby/setup-ruby@477b21f02be01bcb8030d50f37cfec92bfa615b6
with:
ruby-version: 2.6
- run: bundle install
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '20' # Set your Node.js version
- name: Install Dependencies
run: |
npm install
- name: Setup Pages ⚙️
uses: actions/configure-pages@v4
with:
static_site_generator: jekyll
- name: Build
run: |
node generate-venues.js
JEKYLL_ENV=production bundle exec jekyll build
env:
FIREBASE_SERVICE_ACCOUNT: ${{ secrets.FIREBASE_SERVICE_ACCOUNT }}
- name: Upload artifact 📡
uses: actions/upload-pages-artifact@v3
with:
path: ./_site
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Publish to GitHub Pages 🚀
id: deployment
uses: actions/deploy-pages@v4