Skip to content

Add deploy step to GitHub pages #2

Add deploy step to GitHub pages

Add deploy step to GitHub pages #2

Workflow file for this run

name: CI

Check failure on line 1 in .github/workflows/deploy.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/deploy.yml

Invalid workflow file

Cannot define both `uses` and `steps` at the same time for the following jobs: deploy
on:
push:
tags:
- "*.*.*"
jobs:
deploy:
# Call the main build workflow
uses: ./.github/workflows/build-guidelines.yml
# If your main workflow is in a different file, adjust the path accordingly
name: Deploy
runs-on: ubuntu-latest
steps:
- uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build/html