Skip to content

move deploy step back to workflows #7

move deploy step back to workflows

move deploy step back to workflows #7

Workflow file for this run

name: Upload Docs
on:
push:
branches:
- main
- ci/evm-docs-to-github-pages
permissions:
contents: read
pages: write
id-token: write
jobs:
upload-docs:
runs-on: blacksmith-2vcpu-ubuntu-2204
steps:
- name: Run Upload Docs Action
uses: axelarnetwork/axelar-gmp-sdk-solidity/.github/actions/upload-docs@ci/evm-docs-to-github-pages
with:
branches: main,ci/evm-docs-to-github-pages
environment_name: github-pages
deploy:
needs: build

Check failure on line 24 in .github/workflows/upload-docs.yaml

View workflow run for this annotation

GitHub Actions / Upload Docs

Invalid workflow file

The workflow is not valid. .github/workflows/upload-docs.yaml (Line: 24, Col: 12): Job 'deploy' depends on unknown job 'build'.
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: blacksmith-2vcpu-ubuntu-2204
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4