From e2609535c5be69bdf137ec2ae893ade063ef842c Mon Sep 17 00:00:00 2001 From: jsaintvanne Date: Thu, 4 Jan 2024 09:53:49 +0100 Subject: [PATCH] try new setup --- .github/workflows/publish.yml | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index e5e4055..6b1b905 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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 }} \ No newline at end of file