Skip to content
Snippets Groups Projects
Unverified Commit bfda42a2 authored by shall0pass's avatar shall0pass Committed by GitHub
Browse files

Github action to automatically deploy a release image to Netlify (#2750)

* netlify script

* remove npm ci

* add filter

* release note

* whoops
parent 201f0fd3
No related branches found
No related tags found
No related merge requests found
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@v4
- name: Set up environment
uses: ./.github/actions/setup
- name: Install Netlify
run: npm install netlify-cli@17.10.1 -g
- name: Build Actual
run: ./bin/package-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
\ No newline at end of file
......@@ -46,3 +46,6 @@ bundle.mobile.js.map
# Misc
.#*
# Local Netlify folder
.netlify
---
category: Maintenance
authors: [shall0pass]
---
Add Github workflow to publish release to demo.actualbudget.org.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment