From dcd47c7f512bb1eaa6ba0edd54b53377b426e19e Mon Sep 17 00:00:00 2001 From: jsaintvanne Date: Thu, 4 Jan 2024 09:46:18 +0100 Subject: [PATCH] try new setup --- .github/workflows/publish.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 39be4d4..b1888a0 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -29,25 +29,25 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Quarto uses: quarto-dev/quarto-actions/setup@v2 + - name: Install R + uses: actions/setup-r@v4 + with: + + - name: Render uses: quarto-dev/quarto-actions/render@v2 with: path: 'Workflow4Metabolomics\ Galaxy\ Documentation' - - name: Setup Pages - uses: actions/configure-pages@v2 - - - name: Upload artifact - uses: actions/upload-pages-artifact@v1 + - name: Render and Publish + uses: quarto-dev/quarto-actions/publish@v2 with: - # Upload quarto render output directory - path: 'Workflow4Metabolomics\ Galaxy\ Documentation/docs' - - - name: Deploy to GitHub Pages - id: deployment - uses: actions/deploy-pages@v1 \ No newline at end of file + path: 'Worklow4Metabolomics\ Galaxy\ Documentation/docs' + target: gh-pages + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file