diff --git a/.github/workflows/edge-release.yml b/.github/workflows/edge-release.yml new file mode 100644 index 0000000000..40eac83d02 --- /dev/null +++ b/.github/workflows/edge-release.yml @@ -0,0 +1,46 @@ +name: Deploy nightly Edge + +# Publish nightly version of Edge - Runs every day at midnight +on: + schedule: + - cron: '0 0 * * *' + workflow_dispatch: + +defaults: + run: + shell: bash + +env: + CI: true + +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@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 + with: + ref: master + + - 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 Edge + id: netlify_deploy + run: | + netlify deploy \ + --dir packages/desktop-client/build \ + --site ${{ secrets.NETLIFY_EDGE_SITE_ID }} \ + --auth ${{ secrets.NETLIFY_API_TOKEN }} \ + --filter @actual-app/web \ + --prod diff --git a/upcoming-release-notes/6751.md b/upcoming-release-notes/6751.md new file mode 100644 index 0000000000..9bb4f113d9 --- /dev/null +++ b/upcoming-release-notes/6751.md @@ -0,0 +1,6 @@ +--- +category: Maintenance +authors: [MikesGlitch] +--- + +Reinstate nightly edge deploys