From ef98191bc076fb88bbb909c03d656dee79d2886a Mon Sep 17 00:00:00 2001 From: Rowan Cockett Date: Thu, 9 May 2024 09:46:20 -0600 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=80=20Add=20deploy=20script?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/deploy.yml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..fc7db10 --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,23 @@ +# This file was created automatically with `myst init --gh-curvenote` 🪄 💚 + +name: Curvenote Deploy +on: + push: + # Runs on pushes targeting the default branch + branches: [main] +permissions: + # Sets permissions of the GITHUB_TOKEN to allow read of private repos + contents: read +# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. +# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. +concurrency: + group: 'pages' + cancel-in-progress: false +jobs: + build-and-deploy: + runs-on: ubuntu-latest + steps: + - name: Deploy 🚀 + uses: curvenote/action-myst-publish@v1 + env: + CURVENOTE_TOKEN: ${{ secrets.CURVENOTE_TOKEN }}