From 7ccbe329b63461a254a53abc60abfa4af16a00ab Mon Sep 17 00:00:00 2001 From: "Adam H. Sparks" Date: Sun, 28 Apr 2024 11:01:51 +0800 Subject: [PATCH] Update workflow yaml files --- .github/workflows/docker.yaml | 3 ++- .github/workflows/pkgdown.yml | 8 +++++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docker.yaml b/.github/workflows/docker.yaml index 99453b6..e19d467 100644 --- a/.github/workflows/docker.yaml +++ b/.github/workflows/docker.yaml @@ -4,7 +4,7 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@master + - uses: actions/checkout@v3 - name: Publish to Registry uses: elgohr/Publish-Docker-Github-Action@v5 with: @@ -12,3 +12,4 @@ jobs: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} tags: "latest" + diff --git a/.github/workflows/pkgdown.yml b/.github/workflows/pkgdown.yml index 0801cc6..a7276e8 100644 --- a/.github/workflows/pkgdown.yml +++ b/.github/workflows/pkgdown.yml @@ -18,9 +18,11 @@ jobs: concurrency: group: pkgdown-${{ github.event_name != 'pull_request' || github.run_id }} env: - GITHUB_PAT: ${{ secrets.CHICKPEAASCODISPERSAL_PAT }} + GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} + permissions: + contents: write steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: r-lib/actions/setup-pandoc@v2 @@ -39,7 +41,7 @@ jobs: - name: Deploy to GitHub pages 🚀 if: github.event_name != 'pull_request' - uses: JamesIves/github-pages-deploy-action@v4.4.1 + uses: JamesIves/github-pages-deploy-action@v4.5.0 with: clean: false branch: gh-pages