Skip to content

Commit

Permalink
ci: deploy fromGHA (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
mcanouil authored Apr 21, 2024
1 parent 6784d88 commit d1a35fb
Show file tree
Hide file tree
Showing 29 changed files with 49 additions and 8,808 deletions.
48 changes: 48 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: Deploy

on:
workflow_dispatch:
schedule:
- cron: 00 12 1 * *

permissions:
contents: read
pages: write
id-token: write

concurrency:
group: "pages"
cancel-in-progress: false

jobs:
deploy:
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
GH_TOKEN: ${{ github.token }}
steps:
- uses: actions/checkout@v4

- uses: quarto-dev/quarto-actions/setup@v2
with:
version: pre-release

- if: ${{ github.event_name == 'schedule' }}
run: |
rm -rf extensions/yaml
- name: Render Quarto Project
uses: quarto-dev/quarto-actions/render@v2

- uses: actions/configure-pages@v5

- uses: actions/upload-pages-artifact@v3
with:
path: '_site'

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
72 changes: 0 additions & 72 deletions .github/workflows/quarto-render.yml

This file was deleted.

2 changes: 1 addition & 1 deletion _quarto.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
project:
type: website
output-dir: docs
output-dir: _site
pre-render:
- extensions/make-yaml.sh

Expand Down
Binary file removed docs/assets/media/quarto-extension.png
Binary file not shown.
2,954 changes: 0 additions & 2,954 deletions docs/extensions.html

This file was deleted.

Loading

0 comments on commit d1a35fb

Please sign in to comment.