Skip to content

Poprawiono ogłoszenia z niedzieli 10.11.2024 #548

Poprawiono ogłoszenia z niedzieli 10.11.2024

Poprawiono ogłoszenia z niedzieli 10.11.2024 #548

name: Build-n-deploy
on:
push:
branches:
- master
jobs:
deploy:
name: Build and deploy
runs-on: ubuntu-latest # ubuntu-18.04
steps:
- name: Checkout Repo
uses: actions/checkout@master
- uses: actions/setup-node@v1
with:
node-version: "12.x"
# - run: npm --prefix=public ci
- name: Setup ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.6
- run: gem install bundler:2.1.2
- uses: actions/cache@v1
with:
path: vendor/bundle
key: bundle-use-ruby-${{ matrix.os }}-v3-${{ matrix.ruby }}-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
bundle-use-ruby-${{ matrix.os }}-v3-${{ matrix.ruby }}-
- name: bundle install
run: |
bundle config path vendor/bundle
bundle install --jobs 4 --retry 3
- run: (cd public/anielaolsztynek.pl && bundle exec jekyll build)
# - run: npm install -g workbox-cli && workbox generateSW workbox-config.js
- name: Deploy to Firebase
uses: w9jds/[email protected]
with:
args: deploy --only hosting
env:
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}