Skip to content

Commit

Permalink
try new setup
Browse files Browse the repository at this point in the history
  • Loading branch information
jsaintvanne committed Jan 4, 2024
1 parent b7ed342 commit e260953
Showing 1 changed file with 12 additions and 13 deletions.
25 changes: 12 additions & 13 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,33 +8,32 @@ on:
branches: ["doc-ju"]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: write
pages: write
id-token: write

# Allow one concurrent deployment
concurrency:
group: "pages"
cancel-in-progress: true

jobs:
# Single deploy job since we're just deploying
build-deploy:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
- name: Check out repository
uses: actions/checkout@v4

- name: Set up Quarto
uses: quarto-dev/quarto-actions/setup@v2

- name: Install Python and Dependencies
uses: actions/setup-python@v4
with:
python-version: '3.10'
cache: 'pip'
- run: pip install jupyter
- run: pip install -r requirements.txt

- name: Render and Publish
uses: quarto-dev/quarto-actions/publish@v2
with:
path: 'Worklow4Metabolomics\ Galaxy\ Documentation/docs'
path: 'Workflow4Metabolomics\ Galaxy\ Documentation/docs'
target: gh-pages
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit e260953

Please sign in to comment.