Skip to content

chore(deps): bump w9jds/firebase-action from 13.13.3 to 13.14.2 #540

chore(deps): bump w9jds/firebase-action from 13.13.3 to 13.14.2

chore(deps): bump w9jds/firebase-action from 13.13.3 to 13.14.2 #540

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@V27
with:
extra_nix_config: |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
- uses: cachix/cachix-action@v15
with:
name: yuanw-blog
signingKey: ${{ secrets.CACHIX_SIGNING_KEY }}
- name: Nix build
run: nix build
# NOTE Workaround for artifacts and deploy not liking symlinks to
# read-only paths.
- name: "Copy artifacts"
run: "mkdir dist && cp -r result/* dist/ && chmod +w -R dist/"
- name: Archive Production Artifact
uses: actions/upload-artifact@master
with:
name: dist
path: dist
deploy:
name: Deploy
needs: build
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master'
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Download Artifact
uses: actions/download-artifact@master
with:
name: dist
path: dist
- name: Deploy to Firebase
uses: w9jds/[email protected]
with:
args: deploy --message '${{github.event.head_commit.message}}' --only hosting
env:
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}
PROJECT_ID: ${{secrets.FIREBASE_PROJECT_ID}}