chore(deps): Bump the actions group across 1 directory with 2 updates #1539
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Documentation | |
on: | |
pull_request: | |
branches: [main] | |
push: | |
branches: [main] | |
jobs: | |
checks: | |
if: github.event_name != 'push' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3 | |
with: | |
node-version: "16.x" | |
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 | |
with: | |
go-version-file: "${{ github.workspace }}/go.mod" | |
check-latest: true | |
cache: false | |
- name: Build docs | |
run: make docs-build | |
release: | |
if: ${{ github.event_name != 'pull_request' && github.repository_owner == 'liquidmetal-dev' }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3 | |
with: | |
node-version: "16.x" | |
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 | |
with: | |
go-version-file: "${{ github.workspace }}/go.mod" | |
- uses: webfactory/ssh-agent@dc588b651fe13675774614f8e6a936a468676387 # v0.9.0 | |
with: | |
ssh-private-key: ${{ secrets.BOT_DEPLOY_KEY }} | |
- name: Release to GitHub Pages | |
env: | |
USE_SSH: true | |
GIT_USER: git | |
DEPLOYMENT_BRANCH: gh-pages | |
run: | | |
git config --global user.email "[email protected]" | |
git config --global user.name "liquidmetal-docs-bot" | |
make docs-deploy |