Skip to content

πŸš€ Publish

πŸš€ Publish #412

Workflow file for this run

name: πŸš€ Publish
on:
workflow_dispatch:
push:
branches:
- master
jobs:
publish_job:
name: πŸš€ Publish
runs-on: ubuntu-latest
steps:
- name: πŸ“₯ Checkout repository
uses: actions/checkout@v2
- name: 🧱 Setup node
uses: actions/setup-node@v2
with:
node-version: '16'
- name: πŸ“¦ Install packages
run: npm install
- name: πŸ— Build assets
run: npm run build
env:
GHOST_API_URL: ${{ secrets.GHOST_API_URL }}
GHOST_CONTENT_API_KEY: ${{ secrets.GHOST_CONTENT_API_KEY }}
AIRTABLE_API_KEY: ${{ secrets.AIRTABLE_API_KEY }}
AIRTABLE_BASE: ${{ secrets.AIRTABLE_BASE }}
- name: πŸš€ Publish to Fission!
uses: fission-suite/publish-action@v1
with:
machine_key: ${{ secrets.MACHINE_KEY }}