Skip to content

Commit

Permalink
Update trigger_build_pkgdown_site.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
SanderDevisscher committed Aug 23, 2024
1 parent 48989fc commit da7079d
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/trigger_build_pkgdown_site.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,21 @@ on:
workflows: ["Increment version"] # Ensure this matches the name in increment_version.yaml
types:
- completed
workflow_dispatch:

jobs:
trigger-build:
runs-on: ubuntu-latest
steps:
- name: Install gh
- name: Install GitHub CLI
run: |
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-key C99B11DEB97541F0
sudo apt-add-repository https://cli.github.com/packages
sudo apt update
sudo apt install gh
sudo apt install -y gh
- name: Configure gh
- name: Configure GitHub CLI
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh auth login --with-token <<< "$GITHUB_TOKEN"
echo "$GITHUB_TOKEN" | gh auth login --with-token
- name: Trigger Build pkgdown site
env:
Expand Down

0 comments on commit da7079d

Please sign in to comment.