Skip to content

Deploy to CSS CDN

Deploy to CSS CDN #136

Workflow file for this run

name: Deploy to CSS CDN
on:
workflow_run:
workflows: ["Publish to NPM"]
types:
- completed
workflow_dispatch:
jobs:
build:
permissions: write-all
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "18"
- name: Auth GCloud
uses: "google-github-actions/auth@v0"
with:
credentials_json: "${{ secrets.GCE_AUTH_JSON }}"
- name: Install dependencies and build 🔧
run: npm install && npm run build:prod
- name: Upload CSS
uses: "google-github-actions/upload-cloud-storage@v0"
with:
path: "dist/@squidit/ngx-css"
destination: "squid-css"