A local-first personal finance app
Remove gh pages deploy & reinstate netlify autodeploy (#6822)
Michael Clark2ec592c2d6d0
diff --git a/.github/workflows/docs-release.yml b/.github/workflows/docs-release.ymldeleted file mode 100644index 2ecf888566..0000000000--- a/.github/workflows/docs-release.yml+++ /dev/null@@ -1,33 +0,0 @@-name: Release Docs to Github Pages--# Release docs on every push to master-on:- push:- branches:- - master- paths:- - 'packages/docs/**'- - '.github/workflows/docs-spelling.yml'- - '.github/actions/docs-spelling/**'- workflow_dispatch:--jobs:- deploy:- runs-on: ubuntu-latest- name: Deploy Docs- if: github.event.repository.fork == false- steps:- - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0-- - name: Set up environment- uses: ./.github/actions/setup- with:- download-translations: 'false'-- - name: Docusaurus Deploy- run: |- GIT_USER=MikesGlitch \- GIT_PASS=${{ secrets.DOCS_GITHUB_PAGES_DEPLOY }} \- GIT_USER_NAME=github-actions[bot] \- GIT_USER_EMAIL=github-actions[bot]@users.noreply.github.com \- yarn deploy:docsdiff --git a/.github/workflows/publish-nightly-edge.yml b/.github/workflows/publish-nightly-edge.ymldeleted file mode 100644index 21b279680d..0000000000--- a/.github/workflows/publish-nightly-edge.yml+++ /dev/null@@ -1,46 +0,0 @@-name: Deploy nightly Edge--# Publish nightly version of Edge - Runs every day at 23:00 UTC-on:- schedule:- - cron: '0 23 * * *'- workflow_dispatch:--defaults:- run:- shell: bash--env:- CI: true--concurrency:- group: nightly-edge-deploy- cancel-in-progress: false--jobs:- publish-latest-deploy:- runs-on: ubuntu-latest- steps:- - name: Install Netlify CLI- run: npm install [email protected] -g-- - name: Get Latest Deploy ID- id: get_deploy- run: |- DEPLOY_ID=$(netlify api listSiteDeploys --data '{ "site_id": "${{ secrets.NETLIFY_EDGE_SITE_ID }}", "production": true, "state": "ready", "branch": "master", "per_page": 1 }' | jq -r '.[0].id')-- if [ -z "$DEPLOY_ID" ] || [ "$DEPLOY_ID" = "null" ]; then- echo "::error::No valid deploy found"- exit 1- fi-- echo "deploy_id=$DEPLOY_ID" >> $GITHUB_OUTPUT- env:- NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_API_TOKEN }}-- - name: Restore and Publish Deploy- # restoreSiteDeploy API call can bypass Netlify's lock function- run: |- netlify api restoreSiteDeploy --data '{ "site_id": "${{ secrets.NETLIFY_EDGE_SITE_ID }}", "deploy_id": "${{ steps.get_deploy.outputs.deploy_id }}" }'- env:- NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_API_TOKEN }}diff --git a/upcoming-release-notes/6822.md b/upcoming-release-notes/6822.mdnew file mode 100644index 0000000000..d4208785c9--- /dev/null+++ b/upcoming-release-notes/6822.md@@ -0,0 +1,6 @@+---+category: Maintenance+authors: [MikesGlitch]+---++Remove GitHub pages deploys in favor of Netlify