mirror of
https://github.com/actualbudget/actual.git
synced 2026-04-29 02:54:09 -05:00
* actions/checkout v5 * actions/setup-node v6 * actions/upload-artifact v5 * actions/download-artifact v6 * actions/stale v10 * aidan-mundy/react-to-issue v1 * twk3/rollup-size-compare-action v1 * actions/github-script v8 * dawidd6/action-download-artifact v11 * fountainhead/action-wait-for-check v1 * peter-evans/create-or-update-comment v5 * docker/build-push-action v6 * note
44 lines
867 B
YAML
44 lines
867 B
YAML
name: Deploy Netlify Release
|
|
|
|
defaults:
|
|
run:
|
|
shell: bash
|
|
|
|
env:
|
|
CI: true
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- v**
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: false
|
|
|
|
jobs:
|
|
build-and-deploy:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Repository Checkout
|
|
uses: actions/checkout@v5
|
|
|
|
- name: Set up environment
|
|
uses: ./.github/actions/setup
|
|
|
|
- name: Install Netlify
|
|
run: npm install netlify-cli@17.10.1 -g
|
|
|
|
- name: Build Actual
|
|
run: yarn build:browser
|
|
|
|
- name: Deploy to Netlify
|
|
id: netlify_deploy
|
|
run: |
|
|
netlify deploy \
|
|
--dir packages/desktop-client/build \
|
|
--site ${{ secrets.NETLIFY_SITE_ID }} \
|
|
--auth ${{ secrets.NETLIFY_API_TOKEN }} \
|
|
--filter @actual-app/web \
|
|
--prod
|