Skip to content

Commit

Permalink
πŸš€ Add deploy script
Browse files Browse the repository at this point in the history
  • Loading branch information
rowanc1 committed May 9, 2024
1 parent 9dd415b commit ef98191
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -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 }}

0 comments on commit ef98191

Please sign in to comment.