From 622f385a8597586c533e444a93a21770cca2e47c Mon Sep 17 00:00:00 2001 From: pchelle Date: Fri, 26 Jan 2024 04:54:47 -0500 Subject: [PATCH] Trigger happy test --- .github/workflows/dev-site-update.yml | 72 ++++++++++++--------------- 1 file changed, 33 insertions(+), 39 deletions(-) diff --git a/.github/workflows/dev-site-update.yml b/.github/workflows/dev-site-update.yml index 6b0c2f2a..d6cd0475 100644 --- a/.github/workflows/dev-site-update.yml +++ b/.github/workflows/dev-site-update.yml @@ -1,42 +1,36 @@ name: pkgdown-dev on: - pull_request: - branches: - - develop - types: - - closed - + push: + jobs: - if_merged: - if: github.event.pull_request.merged == true - runs-on: ubuntu-latest - env: - GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} - permissions: - contents: write - steps: - - name: Checkout - uses: actions/checkout@v3 - - name: Fetch repo status - uses: r-lib/actions/pr-fetch@v2 - with: - repo-token: ${{ secrets.GITHUB_TOKEN }} - - name: Setup - uses: r-lib/actions/setup-r@v2 - with: - use-public-rspm: true - - name: Setup Pandoc for word conversion - uses: r-lib/actions/setup-pandoc@v2 - - name: Install ospsuite ecosystem and cran packages - run: | - Rscript .github/workflows/install_dependencies.R - - name: Build dev site - run: | - pkgdown::build_site_github_pages() - shell: Rscript {0} - - name: Deploy to GitHub pages - uses: JamesIves/github-pages-deploy-action@v4.4.1 - with: - clean: false - branch: gh-pages - folder: docs \ No newline at end of file + runs-on: ubuntu-latest + env: + GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} + permissions: + contents: write + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Fetch repo status + uses: r-lib/actions/pr-fetch@v2 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + - name: Setup + uses: r-lib/actions/setup-r@v2 + with: + use-public-rspm: true + - name: Setup Pandoc for word conversion + uses: r-lib/actions/setup-pandoc@v2 + - name: Install ospsuite ecosystem and cran packages + run: | + Rscript .github/workflows/install_dependencies.R + - name: Build dev site + run: | + pkgdown::build_site_github_pages() + shell: Rscript {0} + - name: Deploy to GitHub pages + uses: JamesIves/github-pages-deploy-action@v4.4.1 + with: + clean: false + branch: gh-pages + folder: docs \ No newline at end of file